Skip to content

Commit e10bfe7

Browse files
committed
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
2 parents 16119ba + 5958068 commit e10bfe7

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

builtin.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ int cmd_submodule__helper(int argc, const char **argv, const char *prefix);
225225
int cmd_switch(int argc, const char **argv, const char *prefix);
226226
int cmd_symbolic_ref(int argc, const char **argv, const char *prefix);
227227
int cmd_tag(int argc, const char **argv, const char *prefix);
228-
int cmd_tar_tree(int argc, const char **argv, const char *prefix);
229228
int cmd_unpack_file(int argc, const char **argv, const char *prefix);
230229
int cmd_unpack_objects(int argc, const char **argv, const char *prefix);
231230
int cmd_update_index(int argc, const char **argv, const char *prefix);

config.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,6 @@ int git_config_get_maybe_bool(const char *key, int *dest);
609609
int git_config_get_pathname(const char *key, const char **dest);
610610

611611
int git_config_get_index_threads(int *dest);
612-
int git_config_get_untracked_cache(void);
613612
int git_config_get_split_index(void);
614613
int git_config_get_max_percent_split_change(void);
615614
int git_config_get_fsmonitor(void);

grep.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ void grep_source_load_driver(struct grep_source *gs,
223223
int grep_source(struct grep_opt *opt, struct grep_source *gs);
224224

225225
struct grep_opt *grep_opt_dup(const struct grep_opt *opt);
226-
int grep_threads_ok(const struct grep_opt *opt);
227226

228227
/*
229228
* Mutex used around access to the attributes machinery if

log-tree.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ struct decoration_filter {
1414
};
1515

1616
int parse_decorate_color_config(const char *var, const char *slot_name, const char *value);
17-
void init_log_tree_opt(struct rev_info *);
1817
int log_tree_diff_flush(struct rev_info *);
1918
int log_tree_commit(struct rev_info *, struct commit *);
20-
int log_tree_opt_parse(struct rev_info *, const char **, int);
2119
void show_log(struct rev_info *opt);
2220
void format_decorations_extended(struct strbuf *sb, const struct commit *commit,
2321
int use_color,

0 commit comments

Comments
 (0)