diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-12-21 14:55:02 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-12-21 14:55:02 -0800 |
commit | fe050334074c5132d01e1df2c1b9a82c9b8d394c (patch) | |
tree | a5d4136c6aa15eae56ff19c3fffb94acad289757 /Documentation/git.txt | |
parent | 1123026f0bf6cd6c63e0711ef19567e0048d0b6a (diff) | |
parent | 5e74824fac646e2ebe335a00bcecd91641a7f7ca (diff) | |
download | git-fe050334074c5132d01e1df2c1b9a82c9b8d394c.tar.gz |
Merge branch 'jk/quote-env-path-list-component'
A recent update to receive-pack to make it easier to drop garbage
objects made it clear that GIT_ALTERNATE_OBJECT_DIRECTORIES cannot
have a pathname with a colon in it (no surprise!), and this in turn
made it impossible to push into a repository at such a path. This
has been fixed by introducing a quoting mechanism used when
appending such a path to the colon-separated list.
* jk/quote-env-path-list-component:
t5615-alternate-env: double-quotes in file names do not work on Windows
t5547-push-quarantine: run the path separator test on Windows, too
tmp-objdir: quote paths we add to alternates
alternates: accept double-quoted paths
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r-- | Documentation/git.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index af191c51b1..98033302bb 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -871,6 +871,12 @@ Git so take care if using a foreign front-end. specifies a ":" separated (on Windows ";" separated) list of Git object directories which can be used to search for Git objects. New objects will not be written to these directories. ++ + Entries that begin with `"` (double-quote) will be interpreted + as C-style quoted paths, removing leading and trailing + double-quotes and respecting backslash escapes. E.g., the value + `"path-with-\"-and-:-in-it":vanilla-path` has two paths: + `path-with-"-and-:-in-it` and `vanilla-path`. `GIT_DIR`:: If the `GIT_DIR` environment variable is set then it |