[PATCH] Add --pickaxe-all to diff-* brothers.
When --pickaxe-all is given in addition to -S, pickaxe shows the entire diffs contained in the changeset, not just the diffs for the filepair that touched the sought-after string. This is useful to see the changes in context. 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
be020332a1
commit
367cec1c02
4
diff.h
4
diff.h
@ -36,7 +36,9 @@ extern void diff_setup(int flags);
|
||||
|
||||
extern void diffcore_rename(int rename_copy, int minimum_score);
|
||||
|
||||
extern void diffcore_pickaxe(const char *needle);
|
||||
#define DIFF_PICKAXE_ALL 1
|
||||
extern void diffcore_pickaxe(const char *needle, int opts);
|
||||
|
||||
extern void diffcore_pathspec(const char **pathspec);
|
||||
|
||||
extern int diff_queue_is_empty(void);
|
||||
|
||||
Reference in New Issue
Block a user