Code

init, clone: support --separate-git-dir for .git file
[git.git] / revision.c
index bf87e01e45f703b2bda8edd2fb08563d7c362329..86d24704896d71de7bb554a3925ea88e2be3417b 100644 (file)
@@ -969,7 +969,7 @@ static void prepare_show_merge(struct rev_info *revs)
                struct cache_entry *ce = active_cache[i];
                if (!ce_stage(ce))
                        continue;
-               if (ce_path_match(ce, revs->prune_data.raw)) {
+               if (ce_path_match(ce, &revs->prune_data)) {
                        prune_num++;
                        prune = xrealloc(prune, sizeof(*prune) * prune_num);
                        prune[prune_num-2] = ce->name;