mirror of
https://github.com/git/git
synced 2024-11-04 16:17:49 +00:00
diff.h: move declaration for global in diff.c from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
fbffdfb11c
commit
eaa966db79
2 changed files with 2 additions and 3 deletions
3
cache.h
3
cache.h
|
@ -523,9 +523,6 @@ int add_files_to_cache(struct repository *repo, const char *prefix,
|
|||
const struct pathspec *pathspec, int include_sparse,
|
||||
int flags);
|
||||
|
||||
/* diff.c */
|
||||
extern int diff_auto_refresh_index;
|
||||
|
||||
/* ls-files */
|
||||
void overlay_tree_on_index(struct index_state *istate,
|
||||
const char *tree_name, const char *prefix);
|
||||
|
|
2
diff.h
2
diff.h
|
@ -701,4 +701,6 @@ void print_stat_summary(FILE *fp, int files,
|
|||
int insertions, int deletions);
|
||||
void setup_diff_pager(struct diff_options *);
|
||||
|
||||
extern int diff_auto_refresh_index;
|
||||
|
||||
#endif /* DIFF_H */
|
||||
|
|
Loading…
Reference in a new issue