diff options
author | Jeff King <peff@peff.net> | 2017-05-19 08:55:11 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-24 10:59:27 +0900 |
commit | 101dd4de16eea300a59e432452fd4fc06e1ac7f2 (patch) | |
tree | 674c8cc7e712dfa9a458c63e3a14c1df54cec7e2 /Documentation/git-bundle.txt | |
parent | t4063: add tests of direct blob diffs (diff) | |
download | tgif-101dd4de16eea300a59e432452fd4fc06e1ac7f2.tar.xz |
handle_revision_arg: record modes for "a..b" endpoints
The "a..b" revision syntax was designed to handle commits,
so it doesn't bother to record any mode we find while
traversing a "tree:path" endpoint. These days "git diff" can
diff blobs using either "a:path..b:path" (with dots) or
"a:path b:path" (without), but the two behave
inconsistently, as the with-dots version fails to notice the
mode.
Let's teach the dot-dot range parser to record modes; it
doesn't cost us anything, and it makes this case work.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-bundle.txt')
0 files changed, 0 insertions, 0 deletions