2008-07-09 14:58:57 +02:00
|
|
|
#ifndef RERERE_H
|
|
|
|
#define RERERE_H
|
|
|
|
|
2008-07-21 20:03:49 +02:00
|
|
|
#include "string-list.h"
|
2008-07-09 14:58:57 +02:00
|
|
|
|
2009-12-04 09:20:48 +01:00
|
|
|
#define RERERE_AUTOUPDATE 01
|
|
|
|
#define RERERE_NOAUTOUPDATE 02
|
|
|
|
|
|
|
|
extern int setup_rerere(struct string_list *, int);
|
|
|
|
extern int rerere(int);
|
2009-02-14 23:21:04 +01:00
|
|
|
extern const char *rerere_path(const char *hex, const char *file);
|
|
|
|
extern int has_rerere_resolution(const char *hex);
|
2009-12-26 00:51:32 +01:00
|
|
|
extern int rerere_forget(const char **);
|
2008-07-09 14:58:57 +02:00
|
|
|
|
2009-12-04 09:20:48 +01:00
|
|
|
#define OPT_RERERE_AUTOUPDATE(v) OPT_UYN(0, "rerere-autoupdate", (v), \
|
|
|
|
"update the index with reused conflict resolution if possible")
|
|
|
|
|
2008-07-09 14:58:57 +02:00
|
|
|
#endif
|