From: Junio C Hamano Date: Mon, 14 Jan 2013 16:22:27 +0000 (-0800) Subject: Sync with 1.8.1.1 X-Git-Tag: v1.8.2-rc0~123 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/eacf0117752780bf418d352a6ad2f033aeda1cce?hp=-c Sync with 1.8.1.1 --- eacf0117752780bf418d352a6ad2f033aeda1cce diff --combined Documentation/git.txt index c03b7adc97,276491223a..555250dfa0 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@@ -43,9 -43,10 +43,10 @@@ unreleased) version of git, that is ava branch of the `git.git` repository. Documentation for older releases are available here: - * link:v1.8.1/git.html[documentation for release 1.8.1] + * link:v1.8.1.1/git.html[documentation for release 1.8.1.1] * release notes for + link:RelNotes/1.8.1.1.txt[1.8.1.1], link:RelNotes/1.8.1.txt[1.8.1]. * link:v1.8.0.3/git.html[documentation for release 1.8.0.3] @@@ -428,11 -429,6 +429,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 ------------ @@@ -809,16 -805,6 +810,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]] ------------------------