Re: [PATCH 0/9] new git check-ignore sub-command

2012-09-07 Thread Junio C Hamano
Adam Spiers writes: > On Sun, Sep 2, 2012 at 9:35 PM, Junio C Hamano wrote: >> * avoid unnnecessary braces {} around single statement blocks, e.g. >> >> -if (exclude) { >> +if (exclude) >> return exclude; >> -} >> >> * else should follow close brace '}' of if clause, e.g. >

Re: [PATCH 0/9] new git check-ignore sub-command

2012-09-07 Thread Adam Spiers
On Sun, Sep 2, 2012 at 9:35 PM, Junio C Hamano wrote: > * avoid unnnecessary braces {} around single statement blocks, e.g. > > -if (exclude) { > +if (exclude) > return exclude; > -} > > * else should follow close brace '}' of if clause, e.g. > > if (...) { > ..

Re: [PATCH 0/9] new git check-ignore sub-command

2012-09-06 Thread Adam Spiers
On Sun, Sep 2, 2012 at 9:35 PM, Junio C Hamano wrote: > Adam Spiers writes: > >> I was browsing stackoverflow the other day and came across this question: >> >> >> http://stackoverflow.com/questions/12144633/which-gitignore-rule-is-ignoring-my-file/ >> >> A quick google revealed this thread

Re: [PATCH 0/9] new git check-ignore sub-command

2012-09-02 Thread Junio C Hamano
Adam Spiers writes: > I was browsing stackoverflow the other day and came across this question: > > > http://stackoverflow.com/questions/12144633/which-gitignore-rule-is-ignoring-my-file/ > > A quick google revealed this thread from 2009: > > http://thread.gmane.org/gmane.comp.version-co

[PATCH 0/9] new git check-ignore sub-command

2012-09-01 Thread Adam Spiers
I was browsing stackoverflow the other day and came across this question: http://stackoverflow.com/questions/12144633/which-gitignore-rule-is-ignoring-my-file/ A quick google revealed this thread from 2009: http://thread.gmane.org/gmane.comp.version-control.git/108671/focus=108815 wher