зеркало из https://github.com/microsoft/git.git
Merge branch 'ab/retire-decl-of-missing-unused-funcs'
Remove external declaration of functions that no longer exist. * ab/retire-decl-of-missing-unused-funcs: config.h: remove unused git_config_get_untracked_cache() declaration log-tree.h: remove unused function declarations grep.h: remove unused grep_threads_ok() declaration builtin.h: remove cmd_tar_tree() declaration
This commit is contained in:
Коммит
e10bfe7b33
|
@ -225,7 +225,6 @@ int cmd_submodule__helper(int argc, const char **argv, const char *prefix);
|
|||
int cmd_switch(int argc, const char **argv, const char *prefix);
|
||||
int cmd_symbolic_ref(int argc, const char **argv, const char *prefix);
|
||||
int cmd_tag(int argc, const char **argv, const char *prefix);
|
||||
int cmd_tar_tree(int argc, const char **argv, const char *prefix);
|
||||
int cmd_unpack_file(int argc, const char **argv, const char *prefix);
|
||||
int cmd_unpack_objects(int argc, const char **argv, const char *prefix);
|
||||
int cmd_update_index(int argc, const char **argv, const char *prefix);
|
||||
|
|
1
config.h
1
config.h
|
@ -609,7 +609,6 @@ int git_config_get_maybe_bool(const char *key, int *dest);
|
|||
int git_config_get_pathname(const char *key, const char **dest);
|
||||
|
||||
int git_config_get_index_threads(int *dest);
|
||||
int git_config_get_untracked_cache(void);
|
||||
int git_config_get_split_index(void);
|
||||
int git_config_get_max_percent_split_change(void);
|
||||
int git_config_get_fsmonitor(void);
|
||||
|
|
1
grep.h
1
grep.h
|
@ -223,7 +223,6 @@ void grep_source_load_driver(struct grep_source *gs,
|
|||
int grep_source(struct grep_opt *opt, struct grep_source *gs);
|
||||
|
||||
struct grep_opt *grep_opt_dup(const struct grep_opt *opt);
|
||||
int grep_threads_ok(const struct grep_opt *opt);
|
||||
|
||||
/*
|
||||
* Mutex used around access to the attributes machinery if
|
||||
|
|
|
@ -14,10 +14,8 @@ struct decoration_filter {
|
|||
};
|
||||
|
||||
int parse_decorate_color_config(const char *var, const char *slot_name, const char *value);
|
||||
void init_log_tree_opt(struct rev_info *);
|
||||
int log_tree_diff_flush(struct rev_info *);
|
||||
int log_tree_commit(struct rev_info *, struct commit *);
|
||||
int log_tree_opt_parse(struct rev_info *, const char **, int);
|
||||
void show_log(struct rev_info *opt);
|
||||
void format_decorations_extended(struct strbuf *sb, const struct commit *commit,
|
||||
int use_color,
|
||||
|
|
Загрузка…
Ссылка в новой задаче