stash: convert branch to builtin
[gitweb.git] / builtin / reflog.c
index ba36d086e96f65a8cdc458bd64dcffcc01e7ecca..7a85e4b1640b12d4c8f7958cb59b66e037fd2ce2 100644 (file)
@@ -596,7 +596,7 @@ static int cmd_reflog_expire(int argc, const char **argv, const char *prefix)
         * from reflog if the repository was pruned with older git.
         */
        if (cb.cmd.stalefix) {
-               init_revisions(&cb.cmd.revs, prefix);
+               repo_init_revisions(the_repository, &cb.cmd.revs, prefix);
                if (flags & EXPIRE_REFLOGS_VERBOSE)
                        printf("Marking reachable objects...");
                mark_reachable_objects(&cb.cmd.revs, 0, 0, NULL);