git diff doesn't quite work as documented?

2017-09-07 Thread Olaf Klischat
oklischat@oklischat:/tmp$ mkdir gittest oklischat@oklischat:/tmp$ cd gittest/ oklischat@oklischat:/tmp/gittest$ git init Initialized empty Git repository in /private/tmp/gittest/.git/ oklischat@oklischat:/tmp/gittest$ echo foo > foo.txt oklischat@oklischat:/tmp/gittest$ git add foo.txt oklischat@ok

[PATCH 1/2] git-add: -s flag added (silently ignore files)

2012-10-01 Thread Olaf Klischat
Signed-off-by: Olaf Klischat --- builtin/add.c | 14 +++--- t/t3700-add.sh | 17 - 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/builtin/add.c b/builtin/add.c index e664100..61bb9ce 100644 --- a/builtin/add.c +++ b/builtin/add.c @@ -313,7 +313,7

[PATCH 2/2] git-add: -s flag: documentation added

2012-10-01 Thread Olaf Klischat
Signed-off-by: Olaf Klischat --- Documentation/git-add.txt | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt index fd9e36b..a5a1cd1 100644 --- a/Documentation/git-add.txt +++ b/Documentation/git-add.txt

[PATCH 0/2] git-add: -s flag (silently ignore files)

2012-10-01 Thread Olaf Klischat
27;m not really a git guru, so maybe I'm missing something, and I'm unsure how useful this new option is for a general audience. OTOH the patch is trivial. Check it out. The update applies on top of "master" (261b5119). Olaf Klischat (2): git-add: -s flag added (si