From: Junio C Hamano Date: Sat, 24 Dec 2005 00:23:09 GMT Subject: Re: "p4 revert -a" equivalent in git? Message-ID: <7vd5jn4a36.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20051224001308.7078.qmail@web31805.mail.mud.yahoo.com> Luben Tuikov writes: > That is I want to git-update-index --refresh for all > files whose inode may have changed but the actual file > data has not. That's what "git-update-index --refresh" does, unless I am misreading what you say you want. $ git checkout master $ touch *.c $ git diff-index HEAD ;# tons of changes $ git update-index --refresh $ git diff-index HEAD ;# no changes