Re: .gitattributes override behavior (possible bug, or documentation bug)
- From
Jeff King <peff@peff.net>
- Date
- Mar 20, 2018, 04:12 UTC
- Message-ID
- <20180320041205.GC12938@sigill.intra.peff.net>
- In-Reply-To
- <CAHnyXxR+03P8vG02dSuDCnRG0vsbOEWWsNBsKVsedgpkPNu=fQ@mail.gmail.com>
On Mon, Mar 19, 2018 at 11:17:04PM -0400, Dakota Hawkins wrote:
Show 6 quoted lines
> Sorry to tack on to my previous email, but I just thought of this: > > If something like "-diff=lfs" won't do what I (and git-lfs) thought it > would, do you think it would be prudent/reasonable to suggest git-lfs > add a "no-lfs" filter for exactly this case? That way I could have > explicit exclusions without any "diff=foo" shenanigans.
It might be if my earlier email weren't totally wrong. ;) I think the "!filter" syntax that Junio mentioned would do what you want.
-Peff