Remove unused diffcore_std_no_resolve
This was only used by diff-tree-helper program, whose purpose was to translate a raw diff to a patch. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Mar 14, 2007 at 10:36 UTC
3161b4b52112acb6a3eb57f3bf882e8ca131e7d3
2 files changed
-13
diff.c
-11
@@ -2917,17 +2917,6 @@ void diffcore_std(struct diff_options *options)
2917
}
2918
2919
2920
-void diffcore_std_no_resolve(struct diff_options *options)
2921
-{
2922
- if (options->pickaxe)
2923
- diffcore_pickaxe(options->pickaxe, options->pickaxe_opts);
2924
- if (options->orderfile)
2925
- diffcore_order(options->orderfile);
2926
- diffcore_apply_filter(options->filter);
2927
- if (options->exit_with_status)
2928
- options->has_changes = !!diff_queued_diff.nr;
2929
-}
2930
-
2920
void diff_addremove(struct diff_options *options,
2921
int addremove, unsigned mode,
2922
const unsigned char *sha1,
diff.h
-2
@@ -173,8 +173,6 @@ extern int diff_setup_done(struct diff_options *);
173
174
extern void diffcore_std(struct diff_options *);
175
176
-extern void diffcore_std_no_resolve(struct diff_options *);
177
-
176
#define COMMON_DIFF_OPTIONS_HELP \
177
"\ncommon diff options:\n" \
178
" -z output diff-raw with lines terminated with NUL.\n" \