Log ref updates made by fetch.
authorShawn Pearce <spearce@spearce.org>
Fri, 19 May 2006 07:29:26 +0000 (03:29 -0400)
committerJunio C Hamano <junkio@cox.net>
Fri, 19 May 2006 22:02:52 +0000 (15:02 -0700)
commitd0740d92beb019a7b02678e5acea79c0ff67e3ee
tree0e3e69c86d311f788dc0010ffbc369e4fa6a53d1
parent732232a123e1e61e38babb1c572722bb8a189ba3
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>
fetch.c
fetch.h
http-fetch.c
local-fetch.c
refs.c
ssh-fetch.c