Merge branch 'sg/git-C-empty-doc'

Doc update.

* sg/git-C-empty-doc:
  Document that 'git -C ""' works and doesn't change directory
This commit is contained in:
Junio C Hamano 2019-07-11 15:16:48 -07:00
Родитель d5df41cec6 1a64e07d23
Коммит df73cb38d9
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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