From dfaa61bd524799d61b50bbbcee8b7972910ea41c Mon Sep 17 00:00:00 2001 From: Jeff King Date: Sun, 13 May 2007 20:39:11 -0400 Subject: [PATCH] Documentation/git-add: clarify -u with path limiting Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- Documentation/git-add.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt index ea2701846..27b9c0f8c 100644 --- a/Documentation/git-add.txt +++ b/Documentation/git-add.txt @@ -57,8 +57,11 @@ OPTIONS the index. -u:: - Update all files that git already knows about. This is what - "git commit -a" does in preparation for making a commit. + Update only files that git already knows about. This is similar + to what "git commit -a" does in preparation for making a commit, + except that the update is limited to paths specified on the + command line. If no paths are specified, all tracked files are + updated. \--:: This option can be used to separate command-line options from -- 2.26.2