···387387line option or the 'git submodule summary' command, which shows a similar
388388output but does not honor these settings.
389389390390+BACKGROUND REFRESH
391391+------------------
392392+393393+By default, `git status` will automatically refresh the index, updating
394394+the cached stat information from the working tree and writing out the
395395+result. Writing out the updated index is an optimization that isn't
396396+strictly necessary (`status` computes the values for itself, but writing
397397+them out is just to save subsequent programs from repeating our
398398+computation). When `status` is run in the background, the lock held
399399+during the write may conflict with other simultaneous processes, causing
400400+them to fail. Scripts running `status` in the background should consider
401401+using `git --no-optional-locks status` (see linkgit:git[1] for details).
402402+390403SEE ALSO
391404--------
392405linkgit:gitignore[5]