aboutsummaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-11-18 14:31:29 -0800
committerJunio C Hamano <gitster@pobox.com>2013-11-18 14:31:29 -0800
commitc6f1b920ac8b41b9175910d5866924a12a0ce6b9 (patch)
treeddc33851da0035b36eb67c1dbe6b83b28342420c /revision.c
parent33da0c9c3c2ec2706c80f70226739f14a66baa21 (diff)
parent4a2d5ae262a6d372d0951da9cee3c7ad2a8dbca6 (diff)
downloadgit-c6f1b920ac8b41b9175910d5866924a12a0ce6b9.tar.gz
git-c6f1b920ac8b41b9175910d5866924a12a0ce6b9.tar.xz
Merge branch 'nd/literal-pathspecs'
Fixes a regression on 'master' since v1.8.4. * nd/literal-pathspecs: pathspec: stop --*-pathspecs impact on internal parse_pathspec() uses
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/revision.c b/revision.c
index 956040c8c..a8adb3fc8 100644
--- a/revision.c
+++ b/revision.c
@@ -1372,8 +1372,8 @@ static void prepare_show_merge(struct rev_info *revs)
i++;
}
free_pathspec(&revs->prune_data);
- parse_pathspec(&revs->prune_data, PATHSPEC_ALL_MAGIC,
- PATHSPEC_PREFER_FULL, "", prune);
+ parse_pathspec(&revs->prune_data, PATHSPEC_ALL_MAGIC & ~PATHSPEC_LITERAL,
+ PATHSPEC_PREFER_FULL | PATHSPEC_LITERAL_PATH, "", prune);
revs->limited = 1;
}