Re: cg-push protocol proposal [update]
- From
- McMullan, Jason <jason.mcmullan@timesys.com>
- Date
- Jun 2, 2005, 15:00 UTC
- Message-ID
- <1117724429.32257.46.camel@jmcmullan.timesys>
- In-Reply-To
- <1117716883.32257.42.camel@jmcmullan.timesys>
On Thu, 2005-06-02 at 08:47 -0400, McMullan, Jason wrote: I'd like to propose the following protocol for 'pushes'. Assume that a 'git-daemon' is the 'server', and is talking on stdin/stdout.
If you want to only do cmp-xchg style head updates, just 'send' the commit object first (the protocol will request any missing pieces), then do the 'head <head-id> <old-sha1> <new-sha1>'.
-- Jason McMullan <jason.mcmullan@timesys.com> TimeSys Corporation