Code

update-index --again
authorJunio C Hamano <junkio@cox.net>
Sat, 6 May 2006 00:40:47 +0000 (17:40 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 6 May 2006 05:57:27 +0000 (22:57 -0700)
commit83e77a25dc194933c0fb7908ab6d9fb84a5045e2
tree37764549596cbbeb323a7afb5da8fb77eba93fd8
parentfb69a760cc9103d1f8341a3c8ea09bd15a8a412d
update-index --again

After running 'git-update-index' for some paths, you may want to
do the update on the same set of paths again.

The new flag --again checks the paths whose index entries are
are different from the HEAD commit and updates them from the
working tree contents.

This was brought up by Carl Worth on #git.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-update-index.txt
t/t2101-update-index-reupdate.sh [new file with mode: 0755]
update-index.c