diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-06 01:06:32 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-06 01:06:32 -0800 |
commit | abad6da146b5fe8e34f22bcbf31be3cb3e9b08e0 (patch) | |
tree | 85e1e4b4fcd9b473ecbe709db2d9262dc57ad21d /git.txt | |
parent | 085534867cb82e0690945a1645554999bcfa542a (diff) | |
download | git-htmldocs-abad6da146b5fe8e34f22bcbf31be3cb3e9b08e0.tar.gz |
Autogenerated HTML docs for v1.8.1-151-g32238a
Diffstat (limited to 'git.txt')
-rw-r--r-- | git.txt | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -428,6 +428,11 @@ help ...`. Do not use replacement refs to replace git objects. See linkgit:git-replace[1] for more information. +--literal-pathspecs:: + Treat pathspecs literally, rather than as glob patterns. This is + equivalent to setting the `GIT_LITERAL_PATHSPECS` environment + variable to `1`. + GIT COMMANDS ------------ @@ -796,6 +801,16 @@ for further details. as a file path and will try to write the trace messages into it. +GIT_LITERAL_PATHSPECS:: + Setting this variable to `1` will cause git to treat all + pathspecs literally, rather than as glob patterns. For example, + running `GIT_LITERAL_PATHSPECS=1 git log -- '*.c'` will search + for commits that touch the path `*.c`, not any paths that the + glob `*.c` matches. You might want this if you are feeding + literal paths to git (e.g., paths previously given to you by + `git ls-tree`, `--raw` diff output, etc). + + Discussion[[Discussion]] ------------------------ |