Re: [PATCH v2] Make git selectively and conditionally ignore certain stat fields
- From
Robin Rosenberg <robin.rosenberg@dewire.com>
- Date
- Jan 20, 2013, 19:51 UTC
- Message-ID
- <1999787368.3950248.1358711511739.JavaMail.root@dewire.com>
- In-Reply-To
- <7va9sa6f0h.fsf@alter.siamese.dyndns.org>
----- Ursprungligt meddelande -----
Show 11 quoted lines
> That configurability is a slipperly slope to drag us into giving > users > more complexity that does not help them very much, I suspect. > > Earlier somebody mentioned "size and mtime is often enough", so I > think a single option core.looseStatInfo (substitute "loose" with > short, minimum or whatever adjective that is more appropriate---I am > not good at picking phrases, it sounds to me a way to more loosely > define stat info cleanliness than we usually do) that makes us > ignore all fields (regardless of their zero-ness) other than those > two fields might not be a bad way to go.
Would something like this be good?
core.statinfo = default = all fields minimal = whole seconds of mtime and size medium = seconds, nanos of mtime and size nonzero = all non-zero fields
-- robin