aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-update-index.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-05 17:40:47 -0700
committerJunio C Hamano <junkio@cox.net>2006-05-05 22:57:27 -0700
commit83e77a25dc194933c0fb7908ab6d9fb84a5045e2 (patch)
tree37764549596cbbeb323a7afb5da8fb77eba93fd8 /Documentation/git-update-index.txt
parentfb69a760cc9103d1f8341a3c8ea09bd15a8a412d (diff)
downloadgit-83e77a25dc194933c0fb7908ab6d9fb84a5045e2.tar.gz
git-83e77a25dc194933c0fb7908ab6d9fb84a5045e2.tar.xz
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>
Diffstat (limited to 'Documentation/git-update-index.txt')
-rw-r--r--Documentation/git-update-index.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index 57177c7fb..d043e86a7 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -15,7 +15,7 @@ SYNOPSIS
[--cacheinfo <mode> <object> <file>]\*
[--chmod=(+|-)x]
[--assume-unchanged | --no-assume-unchanged]
- [--really-refresh] [--unresolve]
+ [--really-refresh] [--unresolve] [--again]
[--info-only] [--index-info]
[-z] [--stdin]
[--verbose]
@@ -80,6 +80,10 @@ OPTIONS
filesystem that has very slow lstat(2) system call
(e.g. cifs).
+--again::
+ Runs `git-update-index` itself on the paths whose index
+ entries are different from those from the `HEAD` commit.
+
--unresolve::
Restores the 'unmerged' or 'needs updating' state of a
file during a merge if it was cleared by accident.