diff options
Diffstat (limited to 'builtin-rerere.c')
-rw-r--r-- | builtin-rerere.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/builtin-rerere.c b/builtin-rerere.c index 5028138898..34f9acee91 100644 --- a/builtin-rerere.c +++ b/builtin-rerere.c @@ -120,6 +120,11 @@ int cmd_rerere(int argc, const char **argv, const char *prefix) if (argc < 2) return rerere(flags); + if (!strcmp(argv[1], "forget")) { + const char **pathspec = get_pathspec(prefix, argv + 2); + return rerere_forget(pathspec); + } + fd = setup_rerere(&merge_rr, flags); if (fd < 0) return 0; |