summaryrefslogtreecommitdiff
path: root/diffcore.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-27 15:55:01 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-29 11:17:43 -0700
commitbe020332a152ef95e0e8435fb69d8c02d5da29bb (patch)
treefac5ce94e82c801f45d93b8b6461ed89e69c011e /diffcore.h
parent19feebc8c3ca7bd40f2f32f4f856b68b9a02870c (diff)
downloadgit-be020332a152ef95e0e8435fb69d8c02d5da29bb.tar.gz
[PATCH] Remove a function not used anymore.
Earlier rename/copy detection left unmodified filepair in the output and forced downstream to keep them even when they are filtering, and the diff_needs_to_stay() function was used for the logic. It is not used anymore, so remove it. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'diffcore.h')
-rw-r--r--diffcore.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/diffcore.h b/diffcore.h
index 0f82bd933e..e9cf2edcf4 100644
--- a/diffcore.h
+++ b/diffcore.h
@@ -70,9 +70,6 @@ extern struct diff_filepair *diff_queue(struct diff_queue_struct *,
struct diff_filespec *);
extern void diff_q(struct diff_queue_struct *, struct diff_filepair *);
-extern int diff_needs_to_stay(struct diff_queue_struct *, int,
- struct diff_filespec *);
-
#define DIFF_DEBUG 0
#if DIFF_DEBUG
void diff_debug_filespec(struct diff_filespec *, int, const char *);