Re: [PATCH] teach update-index --refresh about --data-unchanged
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Nov 3, 2010, 18:36 UTC
- Message-ID
- <20101103183621.GA14019@burratino>
- In-Reply-To
- <7vzktqwbob.fsf@alter.siamese.dyndns.org>
On Wed, Nov 03, 2010 at 10:37:40AM -0700, Junio C Hamano wrote:
> Pete Wyckoff <pw@padd.com> writes:
Show 8 quoted lines
>> When a repository has been copied with rsync, or cloned using >> a volume manager, the index can be incorrect even though the >> data is unchanged. This new flag tells update-index --refresh >> that it is not necessary to reread the data contents. > > I know our traditional attitude towards the plumbing commands have been > "give them long enough rope and let users hang themselves", but this > particular rope feels a bit too long for my taste.
Pete, I think you mentioned the possibility of a special-case tool for contrib/ that just updates the inode, device number, and ctime fields? That sounds a little less worrying to use, as plumbing.