summaryrefslogtreecommitdiff
path: root/rerere.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 15:35:40 +0700
committerJunio C Hamano <gitster@pobox.com>2013-07-15 10:56:07 -0700
commit01a10b0af9f84069f7c96cb4c94e1417cb7139c1 (patch)
treedf433921b409aef13475629a997ab5a0c5120a3c /rerere.h
parent15b55ae06a208dea4d10125d9655a84f5b62d781 (diff)
downloadgit-01a10b0af9f84069f7c96cb4c94e1417cb7139c1.tar.gz
rerere: convert to use parse_pathspec
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'rerere.h')
-rw-r--r--rerere.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rerere.h b/rerere.h
index 156d2aad80..4aa06c9a51 100644
--- a/rerere.h
+++ b/rerere.h
@@ -3,6 +3,8 @@
#include "string-list.h"
+struct pathspec;
+
#define RERERE_AUTOUPDATE 01
#define RERERE_NOAUTOUPDATE 02
@@ -16,7 +18,7 @@ extern void *RERERE_RESOLVED;
extern int setup_rerere(struct string_list *, int);
extern int rerere(int);
extern const char *rerere_path(const char *hex, const char *file);
-extern int rerere_forget(const char **);
+extern int rerere_forget(struct pathspec *);
extern int rerere_remaining(struct string_list *);
extern void rerere_clear(struct string_list *);
extern void rerere_gc(struct string_list *);