author | Petr Baudis <pasky@suse.cz> | |
Thu, 27 Jul 2006 21:56:14 +0000 (23:56 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 28 Jul 2006 02:33:48 +0000 (19:33 -0700) | ||
commit | c6b69bdbc1b0b914aa0d1e59a29305fce82d6f06 | |
tree | 24fd88a7754cbeacfec51ce02b2d445ad86450d2 | tree | snapshot |
parent | c2c487cf3a6c37bc9b4e3f0e10ad08d9ce048404 | commit | diff |
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>
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 | diff | blob | history | |
fetch.h | diff | blob | history | |
http-fetch.c | diff | blob | history | |
local-fetch.c | diff | blob | history | |
ssh-fetch.c | diff | blob | history |