Git fork

Merge branch 'jk/no-optional-locks'

Doc update for a feature available in Git v2.14 and upwards.

* jk/no-optional-locks:
git-status.txt: mention --no-optional-locks

+13
+13
Documentation/git-status.txt
··· 387 387 line option or the 'git submodule summary' command, which shows a similar 388 388 output but does not honor these settings. 389 389 390 + BACKGROUND REFRESH 391 + ------------------ 392 + 393 + By default, `git status` will automatically refresh the index, updating 394 + the cached stat information from the working tree and writing out the 395 + result. Writing out the updated index is an optimization that isn't 396 + strictly necessary (`status` computes the values for itself, but writing 397 + them out is just to save subsequent programs from repeating our 398 + computation). When `status` is run in the background, the lock held 399 + during the write may conflict with other simultaneous processes, causing 400 + them to fail. Scripts running `status` in the background should consider 401 + using `git --no-optional-locks status` (see linkgit:git[1] for details). 402 + 390 403 SEE ALSO 391 404 -------- 392 405 linkgit:gitignore[5]