[PATCH] Prepare diffcore interface for diff-tree header supression.
This does not actually supress the extra headers when pickaxe is used, but prepares enough support for diff-tree to implement it. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
58b103f55d
commit
38c6f78059
@ -224,10 +224,10 @@ static int needs_to_stay(struct diff_queue_struct *q, int i,
|
||||
return 0;
|
||||
}
|
||||
|
||||
void diff_detect_rename(struct diff_queue_struct *q,
|
||||
int detect_rename,
|
||||
void diff_detect_rename(int detect_rename,
|
||||
int minimum_score)
|
||||
{
|
||||
struct diff_queue_struct *q = &diff_queued_diff;
|
||||
struct diff_queue_struct outq;
|
||||
struct diff_rename_pool created, deleted, stay;
|
||||
struct diff_rename_pool *(srcs[2]);
|
||||
|
Reference in New Issue
Block a user