Re: [PATCH V3] check-ignore: Add option to ignore index contents

2013-09-06 Thread Dave Williams
On 15:27, Thu 05 Sep 13, Junio C Hamano wrote: Now the long option name is --no-index, it makes me wonder if -i is a good synonym for it, and the longer I stare at it, the more certain I become convinced that it is a bad choice. I had originally called it --ignore-index at which point -i made

[PATCH V3] check-ignore: Add option to ignore index contents

2013-09-05 Thread Dave Williams
against the standard ignores to ensure correct behaviour. Signed-off-by: Dave Williams d...@opensourcesolutions.co.uk --- In V3 I have taken on board comments from Junio Hamano and Eric Sunshine from V2 ($gmane/233660). In particlar Junio queried my approach in builtin/git-check-ignores.c

[PATCH V2] check-ignore: Add option to ignore index contents

2013-09-02 Thread Dave Williams
this behaviour deviates from the characteristics of `git add` and `git status` its use case is unlikely to cause any user confusion. Test scripts are augmented to check this option against the standard ignores to ensure correct behaviour. Signed-off-by: Dave Williams d...@opensourcesolutions.co.uk

[PATCH] check-ignore: Add option to ignore index contents

2013-08-29 Thread Dave Williams
) simply by-passes the check for the path being in the index and hence allows tracked path to be checked too. Whilst this behaviour deviates from the characteristics of git add and git status its use case is unlikely to cause any user confusion. Signed-off-by: Dave Williams d