[PATCH] git-apply: Don't barf when --stat'ing a diff with no line changes.
[gitweb.git] / Documentation / git-update-cache.txt
index 604411d6d79d4178557015bcff52295a18169e60..947f2bded0317bab04598d2fb9755db0995c6c45 100644 (file)
@@ -12,7 +12,7 @@ SYNOPSIS
 'git-update-cache'
             [--add] [--remove] [--refresh] [--replace]
             [--ignore-missing]
-            [--force-remove <file>]
+            [--force-remove]
             [--cacheinfo <mode> <object> <file>]\*
             [--] [<file>]\*
 
@@ -49,7 +49,7 @@ OPTIONS
        
 --force-remove::
        Remove the file from the index even when the working directory
-       still has such a file.
+       still has such a file. (Implies --remove.)
 
 --replace::
        By default, when a file `path` exists in the index,