diff options
author | Jeff King <peff@peff.net> | 2017-11-27 01:04:12 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-27 15:09:56 +0900 |
commit | 5e83cca0b83b4a915f9ed246c2bcfeeb5a58b86b (patch) | |
tree | 908db13cb02fd251323300ddfc6802995f4867c6 /t/t4013/diff.format-patch_--attach_--stdout_--suffix=.diff_initial..side | |
parent | git: add --no-optional-locks option (diff) | |
download | tgif-5e83cca0b83b4a915f9ed246c2bcfeeb5a58b86b.tar.xz |
git-status.txt: mention --no-optional-locks
If you come to the documentation thinking "I do not want Git
to take any locks for my background processes", then you may
easily run across "--no-optional-locks" in git.txt.
But it's quite reasonable to hit a specific instance of the
problem: you have "git status" running in the background,
and you notice that it causes lock contention with other
processes. So you look in git-status.txt to see if there is
a way to disable it, but there's no mention of the flag.
Let's add a short note mentioning that status does indeed
touch the index (and why), with a pointer to the global
option. That can point users in the right direction and help
them make a more informed decision about what they're
disabling.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--attach_--stdout_--suffix=.diff_initial..side')
0 files changed, 0 insertions, 0 deletions