summaryrefslogtreecommitdiff
path: root/rerere.h
diff options
context:
space:
mode:
Diffstat (limited to 'rerere.h')
-rw-r--r--rerere.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/rerere.h b/rerere.h
index 13313f3f2b..10a94a4ea1 100644
--- a/rerere.h
+++ b/rerere.h
@@ -3,9 +3,15 @@
#include "string-list.h"
-extern int setup_rerere(struct string_list *);
-extern int rerere(void);
+#define RERERE_AUTOUPDATE 01
+#define RERERE_NOAUTOUPDATE 02
+
+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 has_rerere_resolution(const char *hex);
+#define OPT_RERERE_AUTOUPDATE(v) OPT_UYN(0, "rerere-autoupdate", (v), \
+ "update the index with reused conflict resolution if possible")
+
#endif