summaryrefslogtreecommitdiff
path: root/Documentation/git-update-ref.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-07-22 14:43:51 -0700
committerJunio C Hamano <gitster@pobox.com>2011-07-22 14:43:51 -0700
commitef6663b3dbb3d63b993078477b8b21d9af64e8e5 (patch)
tree499f52480c0dccb3dbfff9ff342231dc5facd4c0 /Documentation/git-update-ref.txt
parentb07522797915c1f907d7b7547510e659ddf01df5 (diff)
parentcd8e3711bf2dce3e2d18aac41e7f42242fbba338 (diff)
downloadgit-ef6663b3dbb3d63b993078477b8b21d9af64e8e5.tar.gz
Merge branch 'bw/log-all-ref-updates-doc'
* bw/log-all-ref-updates-doc: Documentation: clearly specify what refs are honored by core.logAllRefUpdates
Diffstat (limited to 'Documentation/git-update-ref.txt')
-rw-r--r--Documentation/git-update-ref.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt
index 2a96143b7c..d377a35243 100644
--- a/Documentation/git-update-ref.txt
+++ b/Documentation/git-update-ref.txt
@@ -61,8 +61,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: