Re: --diff-filter=T does not list x changes
- From
Jeff King <peff@peff.net>
- Date
- Oct 16, 2008, 10:22 UTC
- Message-ID
- <20081016102201.GB20762@sigill.intra.peff.net>
- In-Reply-To
- <871vyhbsys.fsf@cup.kalibalik.dk>
On Wed, Oct 15, 2008 at 08:42:35PM +0200, Anders Melchiorsen wrote:
> From documentation, I would expect --diff-filter to list changes in > the execute bit, but it does not. I hear on #git that this is > intended, though I still do not know how to filter on the execute bit. > Is it impossible?
Looking at the code, I think it's impossible, and one would have to add a new --diff-filter letter. However, at the very least, the documentation should clarify this situation. The --diff-filter explanation says:
Select only files [...] have their type (mode) changed (T) [...]
which to me indicates that your test case should work.
-Peff