mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
rerere.c: remove the_repository references
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
7c14112741
commit
55e6b3547d
6
rerere.h
6
rerere.h
@@ -23,7 +23,7 @@ struct rerere_id {
|
||||
int variant;
|
||||
};
|
||||
|
||||
int setup_rerere(struct string_list *, int);
|
||||
int setup_rerere(struct repository *,struct string_list *, int);
|
||||
#ifndef NO_THE_REPOSITORY_COMPATIBILITY_MACROS
|
||||
#define rerere(flags) repo_rerere(the_repository, flags)
|
||||
#endif
|
||||
@@ -37,8 +37,8 @@ int repo_rerere(struct repository *, int);
|
||||
const char *rerere_path(const struct rerere_id *, const char *file);
|
||||
int rerere_forget(struct repository *, struct pathspec *);
|
||||
int rerere_remaining(struct repository *, struct string_list *);
|
||||
void rerere_clear(struct string_list *);
|
||||
void rerere_gc(struct string_list *);
|
||||
void rerere_clear(struct repository *, struct string_list *);
|
||||
void rerere_gc(struct repository *, struct string_list *);
|
||||
|
||||
#define OPT_RERERE_AUTOUPDATE(v) OPT_UYN(0, "rerere-autoupdate", (v), \
|
||||
N_("update the index with reused conflict resolution if possible"))
|
||||
|
||||
Reference in New Issue
Block a user