author | Shawn Pearce <spearce@spearce.org> | |
Wed, 17 May 2006 09:55:40 +0000 (05:55 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 18 May 2006 00:36:36 +0000 (17:36 -0700) | ||
commit | 6de08ae688b9f2426410add155079e04baff33bd | |
tree | a2d4e5a853ad2b13bf587465104afd39079f322b | tree | snapshot |
parent | 5b16b090211f549c501f2cd9e8ea1bd227a575c5 | commit | diff |
Log ref updates to logs/refs/<ref>
If config parameter core.logAllRefUpdates is true or the log
file already exists then append a line to ".git/logs/refs/<ref>"
whenever git-update-ref <ref> is executed. Each log line contains
the following information:
oldsha1 <SP> newsha1 <SP> committer <LF>
where committer is the current user, date, time and timezone in
the standard GIT ident format. If the caller is unable to append
to the log file then git-update-ref will fail without updating <ref>.
An optional message may be included in the log line with the -m flag.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
If config parameter core.logAllRefUpdates is true or the log
file already exists then append a line to ".git/logs/refs/<ref>"
whenever git-update-ref <ref> is executed. Each log line contains
the following information:
oldsha1 <SP> newsha1 <SP> committer <LF>
where committer is the current user, date, time and timezone in
the standard GIT ident format. If the caller is unable to append
to the log file then git-update-ref will fail without updating <ref>.
An optional message may be included in the log line with the -m flag.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/config.txt | diff | blob | history | |
Documentation/git-update-ref.txt | diff | blob | history | |
cache.h | diff | blob | history | |
config.c | diff | blob | history | |
environment.c | diff | blob | history | |
refs.c | diff | blob | history | |
refs.h | diff | blob | history | |
t/t1400-update-ref.sh | [new file with mode: 0644] | blob |