@matheusbsbs / matheus-bagliano / commits / 0b34379a8d
Fork 0

Fix diff-filter All-Or-None mark.

When we updated the marker for new files from 'N' to 'A', we forgot to notice that the letter is already taken by the All-Or-None mark. Change the All-Or-None marker to '*' to resolve this conflict. git-diff-tree -r --diff-filter='R*' -M shows all the changes (not just renames) that are contained in commits that have renames, in comparison with: git-diff-tree -r --diff-filter='R' -M shows the same set of changes but the diff output are limited only to renaming changes. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Oct 4, 2005 at 17:44 UTC 0b34379a8da82061308b7a22d0caa1834d579f48
1 file changed +1 -1
diff.h
+1 -1
@@ -103,7 +103,7 @@ extern void diff_flush(struct diff_options*);
103 /* these are not diff-raw status letters proper, but used by
104 * diffcore-filter insn to specify additional restrictions.
105 */
106 -#define DIFF_STATUS_FILTER_AON 'A'
106 +#define DIFF_STATUS_FILTER_AON '*'
107 #define DIFF_STATUS_FILTER_BROKEN 'B'
108
109 #endif /* DIFF_H */