diff options
author | Bert Wesarg <bert.wesarg@googlemail.com> | 2011-07-11 11:14:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-07-12 09:11:14 -0700 |
commit | cd8e3711bf2dce3e2d18aac41e7f42242fbba338 (patch) | |
tree | e46397617278b584af2c0fbcddc8ccce4f51c625 /Documentation/git-update-ref.txt | |
parent | e923eaeb901ff056421b9007adcbbce271caa7b6 (diff) | |
download | git-cd8e3711bf2dce3e2d18aac41e7f42242fbba338.tar.gz |
Documentation: clearly specify what refs are honored by core.logAllRefUpdates
The documentation for logging updates in git-update-ref, doesn't make it
clear that only a specific subset of refs are honored by this variable.
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-update-ref.txt')
-rw-r--r-- | Documentation/git-update-ref.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt index 9639f705af..c7d086d5ed 100644 --- a/Documentation/git-update-ref.txt +++ b/Documentation/git-update-ref.txt @@ -60,8 +60,9 @@ still contains <oldvalue>. Logging Updates --------------- -If config parameter "core.logAllRefUpdates" is true or the file -"$GIT_DIR/logs/<ref>" exists then `git update-ref` will append +If config parameter "core.logAllRefUpdates" is true and the ref is one under +"refs/heads/", "refs/remotes/", "refs/notes/", or the symbolic ref HEAD; or +the file "$GIT_DIR/logs/<ref>" exists then `git update-ref` will append a line to the log file "$GIT_DIR/logs/<ref>" (dereferencing all symbolic refs before creating the log name) describing the change in ref value. Log lines are formatted as: |