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

2012-10-01 Thread Olaf Klischat
Signed-off-by: Olaf Klischat olaf.klisc...@gmail.com --- 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 +++

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

2012-10-01 Thread Junio C Hamano
Olaf Klischat olaf.klisc...@gmail.com writes: Signed-off-by: Olaf Klischat olaf.klisc...@gmail.com --- I am personally not sympathetic to the reasoning stated in the proposed commit log message above your signed-off-by line; the change is not justified at all. But I'll comment on the code

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

2012-10-01 Thread Matthieu Moy
Junio C Hamano gits...@pobox.com writes: static struct option builtin_add_options[] = { OPT__DRY_RUN(show_only, N_(dry run)), @@ -329,6 +329,7 @@ static struct option builtin_add_options[] = { OPT_BOOLEAN( 0 , refresh, refresh_only, N_(don't add, only refresh the index)),