author | Shawn Pearce <spearce@spearce.org> | |
Fri, 19 May 2006 07:29:26 +0000 (03:29 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 19 May 2006 22:02:52 +0000 (15:02 -0700) | ||
commit | d0740d92beb019a7b02678e5acea79c0ff67e3ee | |
tree | 0e3e69c86d311f788dc0010ffbc369e4fa6a53d1 | tree | snapshot |
parent | 732232a123e1e61e38babb1c572722bb8a189ba3 | commit | diff |
Log ref updates made by fetch.
If a ref is changed by http-fetch, local-fetch or ssh-fetch
record the change and the remote URL/name in the log for the ref.
This requires loading the config file to check logAllRefUpdates.
Also fixed a bug in the ref lock generation; the log file name was
not being produced right due to a bad prefix length.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
If a ref is changed by http-fetch, local-fetch or ssh-fetch
record the change and the remote URL/name in the log for the ref.
This requires loading the config file to check logAllRefUpdates.
Also fixed a bug in the ref lock generation; the log file name was
not being produced right due to a bad prefix length.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
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 | |
refs.c | diff | blob | history | |
ssh-fetch.c | diff | blob | history |