summaryrefslogtreecommitdiffstats
path: root/git.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-03 16:10:59 +0900
committerJunio C Hamano <gitster@pobox.com>2017-10-03 16:10:59 +0900
commit139b7d1a5a53f1b27057bbb37a7a4a14959f6a79 (patch)
treedf84f1b9ecd85274fdef383894621dab2b08fd5a /git.txt
parentef75f377a0a3170ce7d5664cab4a6057d91f59c8 (diff)
downloadgit-htmldocs-139b7d1a5a53f1b27057bbb37a7a4a14959f6a79.tar.gz
Autogenerated HTML docs for v2.14.2-746-g8fb8a9
Diffstat (limited to 'git.txt')
-rw-r--r--git.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/git.txt b/git.txt
index 6e3a6767e..7a1d629ca 100644
--- a/git.txt
+++ b/git.txt
@@ -75,7 +75,7 @@ example the following invocations are equivalent:
Note that omitting the `=` in `git -c foo.bar ...` is allowed and sets
`foo.bar` to the boolean true value (just like `[foo]bar` would in a
config file). Including the equals but with an empty value (like `git -c
-foo.bar= ...`) sets `foo.bar` to the empty string which ` git config
+foo.bar= ...`) sets `foo.bar` to the empty string which `git config
--bool` will convert to `false`.
--exec-path[=<path>]::
@@ -159,6 +159,10 @@ foo.bar= ...`) sets `foo.bar` to the empty string which ` git config
Add "icase" magic to all pathspec. This is equivalent to setting
the `GIT_ICASE_PATHSPECS` environment variable to `1`.
+--no-optional-locks::
+ Do not perform optional operations that require locks. This is
+ equivalent to setting the `GIT_OPTIONAL_LOCKS` to `0`.
+
GIT COMMANDS
------------
@@ -697,6 +701,14 @@ of clones and fetches.
which feed potentially-untrusted URLS to git commands. See
linkgit:git-config[1] for more details.
+`GIT_OPTIONAL_LOCKS`::
+ If set to `0`, Git will complete any requested operation without
+ performing any optional sub-operations that require taking a lock.
+ For example, this will prevent `git status` from refreshing the
+ index as a side effect. This is useful for processes running in
+ the background which do not want to cause lock contention with
+ other operations on the repository. Defaults to `1`.
+
Discussion[[Discussion]]
------------------------