diff options
author | Kaushik Lingarkar <quic_kaushikl@quicinc.com> | 2022-12-05 14:58:00 -0800 |
---|---|---|
committer | Kaushik Lingarkar <quic_kaushikl@quicinc.com> | 2022-12-14 12:27:34 -0800 |
commit | 52aa9c81fcc72961d2ecb4ecadea6d869a6f878a (patch) | |
tree | ee36467c96cee3f9cbda780835c54cd3392ddf4d /Documentation | |
parent | fec271c11bb38aa7c80d251d4651536570977195 (diff) | |
download | jgit-52aa9c81fcc72961d2ecb4ecadea6d869a6f878a.tar.gz jgit-52aa9c81fcc72961d2ecb4ecadea6d869a6f878a.zip |
Fix documentation for core.trustFolderStat
Update documentation for core.trustFolderStat to highlight that it is
also used when reading the packed-refs file.
Change-Id: I3eac377c3a7f48493abc8ae6d0889ee70a05d24d
Signed-off-by: Kaushik Lingarkar <quic_kaushikl@quicinc.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config-options.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/config-options.md b/Documentation/config-options.md index 19bcc33523..6551ba82da 100644 --- a/Documentation/config-options.md +++ b/Documentation/config-options.md @@ -45,7 +45,7 @@ For details on native git options see also the official [git config documentatio | `core.streamFileThreshold` | `50 MiB` | ⃞ | The size threshold beyond which objects must be streamed. | | `core.supportsAtomicFileCreation` | `true` | ⃞ | Whether the filesystem supports atomic file creation. | | `core.symlinks` | Auto detect if filesystem supports symlinks| ✅ | If false, symbolic links are checked out as small plain files that contain the link text. | -| `core.trustFolderStat` | `true` | ⃞ | Whether to trust the pack folder's modification time. If `false` JGit will always scan the `.git/objects/pack` folder to check for new pack files. This can help to workaround caching issues on NFS, but reduces performance. If set to `true` it uses the `lastmodified` attribute of the folder and assumes that no new pack files can be in this folder if its modification time has not changed. | +| `core.trustFolderStat` | `true` | ⃞ | Whether to trust the pack folder's and packed-refs file's file attributes (Java equivalent of stat command on *nix). When looking for pack files, if `false` JGit will always scan the `.git/objects/pack` folder and if set to `true` it assumes that pack files are unchanged if the file attributes of the pack folder are unchanged. When getting the list of packed refs, if `false` JGit will always read the packed-refs file and if set to `true` it uses the file attributes of the packed-refs file and will only read it if a file attribute has changed. Setting this option to `false` can help to workaround caching issues on NFS, but reduces performance.| | `core.worktree` | Root directory of the working tree if it is not the parent directory of the `.git` directory | ✅ | The path to the root of the working tree. | ## __gc__ options |