]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sequencer.c
sequencer: unlink autostash in apply_autostash()
[thirdparty/git.git] / sequencer.c
index e0b8262521e18b551e6541997de2ad4dabceb084..645bc47ce3c0e9cc080c6bd0aa56e3cd314e9508 100644 (file)
@@ -3748,6 +3748,7 @@ int apply_autostash(const char *path)
                                  " \"git stash drop\" at any time.\n"));
        }
 
+       unlink(path);
        strbuf_release(&stash_oid);
        return ret;
 }