summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-14 17:36:42 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-03-14 23:21:19 (GMT)
commit3161b4b52112acb6a3eb57f3bf882e8ca131e7d3 (patch)
treeae99e841726d440152252d0ce3c00ddba9d0de74 /diff.c
parent41bbf9d58575095234c64df979ee884334469758 (diff)
downloadgit-3161b4b52112acb6a3eb57f3bf882e8ca131e7d3.zip
git-3161b4b52112acb6a3eb57f3bf882e8ca131e7d3.tar.gz
git-3161b4b52112acb6a3eb57f3bf882e8ca131e7d3.tar.bz2
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>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/diff.c b/diff.c
index cc81801..7d938c1 100644
--- a/diff.c
+++ b/diff.c
@@ -2917,17 +2917,6 @@ void diffcore_std(struct diff_options *options)
}
-void diffcore_std_no_resolve(struct diff_options *options)
-{
- if (options->pickaxe)
- diffcore_pickaxe(options->pickaxe, options->pickaxe_opts);
- if (options->orderfile)
- diffcore_order(options->orderfile);
- diffcore_apply_filter(options->filter);
- if (options->exit_with_status)
- options->has_changes = !!diff_queued_diff.nr;
-}
-
void diff_addremove(struct diff_options *options,
int addremove, unsigned mode,
const unsigned char *sha1,