Update docs for logAllRefUpdates Currently it looks like logAllRefUpdates is a boolean value that can be either enabled or not, while in reality there is a third possible value of "always" that is required to log the vast majority of the ref updates. Document this third option and make it clearer what's actually being logged when setting it to true. Change-Id: I01a7700a05cbbd10cc9eeae9350f2671def4d813
diff --git a/Documentation/config-options.md b/Documentation/config-options.md index abf7864..1541b53 100644 --- a/Documentation/config-options.md +++ b/Documentation/config-options.md
@@ -41,7 +41,7 @@ | `core.fileMode` | Auto detects if file modes are supported | ✅ | Tells Git if the executable bit of files in the working tree is to be honored. | | `core.hideDotFiles` | `dotGitOnly` | ✅ | Windows only. If `true`, mark newly-created directories and files whose name starts with a dot as hidden. If `dotGitOnly`, only the `.git/` directory is hidden, but no other files starting with a dot. | | `core.hooksPath` | `$GIT_DIR/hooks` | ✅ | Path to look for hooks. | -| `core.logAllRefUpdates` | `true` in a repository with working tree, `false` in bare repository | ✅ | Enable the reflog. | +| `core.logAllRefUpdates` | `true` in a repository with working tree, `false` in bare repository | ✅ | Enable the reflog. `true` to log updates only for `refs/heads/**`, `refs/remotes/**`, `refs/notes/**`, and `HEAD`, `always` to log for all refs, `false` to disable reflog updates | | `core.packedGitLimit` | `10 MiB` | ✅ | Maximum number of bytes to cache in memory from pack files. | | `core.packedGitMmap` | `false` | ✅ | Whether to use Java NIO virtual memory mapping for JGit buffer cache. When set to `true` enables use of Java NIO virtual memory mapping for cache windows, `false` reads entire window into a `byte[]` with standard read calls. `true` is experimental and may cause instabilities and crashes since Java doesn't support explicit unmapping of file regions mapped to virtual memory. | | `core.packedGitOpenFiles` | `128` | ⃞ | Maximum number of streams to open at a time. Open packs count against the process limits. |