Code

Make pull() take some implicit data as explicit arguments
authorPetr Baudis <pasky@suse.cz>
Thu, 27 Jul 2006 21:56:14 +0000 (23:56 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 28 Jul 2006 02:33:48 +0000 (19:33 -0700)
commitc6b69bdbc1b0b914aa0d1e59a29305fce82d6f06
tree24fd88a7754cbeacfec51ce02b2d445ad86450d2
parentc2c487cf3a6c37bc9b4e3f0e10ad08d9ce048404
Make pull() take some implicit data as explicit arguments

Currently it's a bit weird that pull() takes a single argument
describing the commit but takes the write_ref from a global variable.
This makes it take that as a parameter as well, which might be nicer
for the libification in the future, but especially it will make for
nicer code when we implement pull()ing multiple commits at once.

Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch.c
fetch.h
http-fetch.c
local-fetch.c
ssh-fetch.c