]> git.ipfire.org Git - thirdparty/git.git/commit - http-push.c
http-push: support for updating remote info/refs
authorNick Hengeveld <nickh@reactrix.com>
Sat, 11 Mar 2006 04:18:18 +0000 (20:18 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 11 Mar 2006 07:01:54 +0000 (23:01 -0800)
commit197e8951abd2ebf2c70d0847bb0b38b16b92175b
treed0a897f4b1fec9d582710275befa656c82db5b62
parent512d632cf25c7c8c32fe4d7eb96aff9d24fa247d
http-push: support for updating remote info/refs

If info/refs exists on the remote, get a lock on info/refs, make sure that
there is a local copy of the object referenced in each remote ref (in case
someone else added a tag we don't have locally), do all the refspec updates,
and generate and send an updated info/refs file.

Signed-off-by: Junio C Hamano <junkio@cox.net>
http-push.c