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

2012-10-01 Thread Matthieu Moy
Junio C Hamano 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")), >>

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

2012-10-01 Thread Junio C Hamano
Olaf Klischat writes: > Signed-off-by: Olaf Klischat > --- 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 changes anyway. > builtin/add.c | 14 ++

[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 @@ s