Re: Should I store large text files on Git LFS?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 25, 2017, 20:52 UTC
- Message-ID
- <xmqq7eywutlt.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20170725191347.e2p7goxho2rcemz4@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
> As you can see, core.bigfilethreshold is a pretty blunt instrument. It > might be nice if .gitattributes understood other types of patterns > besides filenames, so you could do something like: > > echo '[size > 500MB] delta -diff' >.gitattributes > > or something like that. I don't think it's come up enough for anybody to > care too much about it or work on it.
But attributes is about paths, at which a blob may or may not exist, so it is a bad fit to add conditionals that are based on sizes and types.