[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
@ -21,8 +21,9 @@ static int contains(struct diff_filespec *one,
|
||||
return 0;
|
||||
}
|
||||
|
||||
void diff_pickaxe(struct diff_queue_struct *q, const char *needle)
|
||||
void diff_pickaxe(const char *needle)
|
||||
{
|
||||
struct diff_queue_struct *q = &diff_queued_diff;
|
||||
unsigned long len = strlen(needle);
|
||||
int i;
|
||||
struct diff_queue_struct outq;
|
||||
|
Reference in New Issue
Block a user