Merge branch 'jc/rerere'
[tgit.git] / rerere.h
blob10a94a4ea10aa4c7a1ba4ea8397b82f1278afc9d
1 #ifndef RERERE_H
2 #define RERERE_H
4 #include "string-list.h"
6 #define RERERE_AUTOUPDATE 01
7 #define RERERE_NOAUTOUPDATE 02
9 extern int setup_rerere(struct string_list *, int);
10 extern int rerere(int);
11 extern const char *rerere_path(const char *hex, const char *file);
12 extern int has_rerere_resolution(const char *hex);
14 #define OPT_RERERE_AUTOUPDATE(v) OPT_UYN(0, "rerere-autoupdate", (v), \
15 "update the index with reused conflict resolution if possible")
17 #endif