diff options
author | 2019-07-11 15:16:48 -0700 | |
---|---|---|
committer | 2019-07-11 15:16:48 -0700 | |
commit | df73cb38d942d2fb305a0fbfedd9a093ca386c83 (patch) | |
tree | f2bdcf1f070b01da359bec13c999ac6eb3359074 /Documentation | |
parent | Merge branch 'jt/t5551-test-chunked' (diff) | |
parent | Document that 'git -C ""' works and doesn't change directory (diff) | |
download | tgif-df73cb38d942d2fb305a0fbfedd9a093ca386c83.tar.xz |
Merge branch 'sg/git-C-empty-doc'
Doc update.
* sg/git-C-empty-doc:
Document that 'git -C ""' works and doesn't change directory
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index e095514ace..9b82564d1a 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -57,7 +57,8 @@ help ...`. Run as if git was started in '<path>' instead of the current working directory. When multiple `-C` options are given, each subsequent non-absolute `-C <path>` is interpreted relative to the preceding `-C - <path>`. + <path>`. If '<path>' is present but empty, e.g. `-C ""`, then the + current working directory is left unchanged. + This option affects options that expect path name like `--git-dir` and `--work-tree` in that their interpretations of the path names would be |