···387line option or the 'git submodule summary' command, which shows a similar
388output but does not honor these settings.
3890000000000000390SEE ALSO
391--------
392linkgit:gitignore[5]
···387line option or the 'git submodule summary' command, which shows a similar
388output but does not honor these settings.
389390+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+403SEE ALSO
404--------
405linkgit:gitignore[5]