From: Junio C Hamano Date: Tue, 25 Jul 2017 20:52:46 GMT Subject: Re: Should I store large text files on Git LFS? Message-ID: In-Reply-To: <20170725191347.e2p7goxho2rcemz4@sigill.intra.peff.net> Jeff King writes: > 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.