From 9b63f50148bd155c00b6893dbbf48583f7b0848d Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Tue, 31 May 2005 18:52:43 +0200 Subject: [PATCH] Make git-update-cache --force-remove regular Make the --force-remove flag behave same as --add, --remove and --replace. This means I can do git-update-cache --force-remove -- file1.c file2.c which is probably saner and also makes it easier to use in cg-rm. Signed-off-by: Petr Baudis Signed-off-by: Linus Torvalds --- Documentation/git-update-cache.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation') diff --git a/Documentation/git-update-cache.txt b/Documentation/git-update-cache.txt index 604411d6d7..947f2bded0 100644 --- a/Documentation/git-update-cache.txt +++ b/Documentation/git-update-cache.txt @@ -12,7 +12,7 @@ SYNOPSIS 'git-update-cache' [--add] [--remove] [--refresh] [--replace] [--ignore-missing] - [--force-remove ] + [--force-remove] [--cacheinfo ]\* [--] []\* @@ -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, -- cgit v1.2.3