]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git.txt
Document that 'git -C ""' works and doesn't change directory
[thirdparty/git.git] / Documentation / git.txt
index 6ddc1e2ca6830ac165543dad4a57afd6d4b50c49..81f7ecd52c959f74f5b78b45d34ea0c9b041a966 100644 (file)
@@ -56,7 +56,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