convert unmerge_cache to take struct pathspec
[git/git.git] / rerere.c
index 27afbfe..4105bca 100644 (file)
--- a/rerere.c
+++ b/rerere.c
@@ -668,7 +668,7 @@ int rerere_forget(struct pathspec *pathspec)
 
        fd = setup_rerere(&merge_rr, RERERE_NOAUTOUPDATE);
 
-       unmerge_cache(pathspec->raw);
+       unmerge_cache(pathspec);
        find_conflict(&conflict);
        for (i = 0; i < conflict.nr; i++) {
                struct string_list_item *it = &conflict.items[i];