Re: Forcing re-reading files with unchanged stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On 1/12/11 3:07 PM, Maaartin wrote:
There are files in my working tree which changes, but their size and mtime
remains the same (I know it's strange, but it's useful). Can I make git to re-

When can this be useful?

read them all, so it recognizes the change? Ideally, using a configuration
variable. The repo is fairly small, so speed is no issue here.

Try git update-index --refresh. I'm not aware of any config option, but you might want to look through man git-config.

tom

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]