With the previous text, one could get the understanding that diff-filter=T also tested for changes in the executable bit. Signed-off-by: Anders Melchiorsen <mail@xxxxxxxxxxxxxxxx> --- Junio C Hamano <gitster@xxxxxxxxx> writes: > There are other "commit pickers" such as -S<strting> and > --diff-filter that do not absolutely have to exist (iow, they could > also be scripted), but what they pick earned easy shortcuts because > the need is very common. Once you can demonstrate that the need to > pick executable-bit changes is also very common, _and_ if you can > come up with a clean solution, we might add a commit picker that > looks for changes in executable-ness in the future. I dunno. You are right that this should be a rare need. I didn't mean to push for this feature. I just offered to implement it, as I needed it myself and din't see other ways. A script will work fine for me, I should have thought of that. The documentation patch that I promised is here. Thanks, Anders. Documentation/diff-options.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 7788d4f..7604a13 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -137,7 +137,7 @@ endif::git-format-patch[] --diff-filter=[ACDMRTUXB*]:: Select only files that are Added (`A`), Copied (`C`), Deleted (`D`), Modified (`M`), Renamed (`R`), have their - type (mode) changed (`T`), are Unmerged (`U`), are + type (symlink/regular file) changed (`T`), are Unmerged (`U`), are Unknown (`X`), or have had their pairing Broken (`B`). Any combination of the filter characters may be used. When `*` (All-or-none) is added to the combination, all -- 1.6.0.2.514.g23abd3 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html