Code

Merge branch 'bg/t5540-osx-grep'
[git.git] / Documentation / git-update-ref.txt
index 2a96143b7c92d97a81eb7f8d8d425f2a1367153f..d377a352433cb38536f42c5b3fc6b80ae2b11f7f 100644 (file)
@@ -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: