Re: GIT push to sftp (feature request)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Langhoff
Date: Sunday, August 5, 2007 - 2:12 pm

On 8/5/07, pavlix <pavlix@pavlix.net> wrote:


Unfortunately, git does not "push" over protocols that cannot execute
git on the remote server. We call them "dumb protocols" and if you
search this list for that name, you'll find lots.

Git tries to be smart in at least 2 ways that don't work with dump
protocols: it works locklessly (yet it performs atomic updates) and it
sends only the objects needed over the wire (saving a lot of
bandwidth).

Using dumb protocols it's impossible to do either. And these days it's
not that hard to setup git (or any other binary) to execute at the
remote end.

Bazaar-NG and others do support dumb protocols, and (I think) they do
it by using one big lock over the repo. But the lock is not safe, and
things can (and do) go wrong with weak locking schemes.

git used to support rsync -- but I don't think that works anymore for
pushes. Other than git over ssh, perhaps you can try the apache module
that implements git over http?

hope that helps,



martin
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
GIT push to sftp (feature request), pavlix, (Sun Aug 5, 2:05 am)
Re: GIT push to sftp (feature request), Johannes Schindelin, (Sun Aug 5, 6:38 am)
Re: GIT push to sftp (feature request), Martin Langhoff, (Sun Aug 5, 2:12 pm)
Re: GIT push to sftp (feature request), Matthieu Moy, (Sun Aug 5, 3:20 pm)
Re: GIT push to sftp (feature request), Martin Langhoff, (Sun Aug 5, 5:00 pm)
Re: GIT push to sftp (feature request), Matthieu Moy, (Mon Aug 6, 1:59 am)
Re: GIT push to sftp (feature request), Jan Hudec, (Tue Aug 7, 2:50 pm)