Re: [PATCHv4 5/9] builtin/notes: Simplify early exit code in add()

2014-11-11 Thread Junio C Hamano
Johan Herland writes: > On Mon, Nov 10, 2014 at 9:36 PM, Junio C Hamano wrote: >> Johan Herland writes: >> >>> Signed-off-by: Johan Herland >>> --- >>> builtin/notes.c | 12 +--- >>> 1 file changed, 5 insertions(+), 7 deletions(-) >>> >>> diff --git a/builtin/notes.c b/builtin/notes.c

Re: [PATCHv4 5/9] builtin/notes: Simplify early exit code in add()

2014-11-10 Thread Johan Herland
On Mon, Nov 10, 2014 at 9:36 PM, Junio C Hamano wrote: > Johan Herland writes: > >> Signed-off-by: Johan Herland >> --- >> builtin/notes.c | 12 +--- >> 1 file changed, 5 insertions(+), 7 deletions(-) >> >> diff --git a/builtin/notes.c b/builtin/notes.c >> index 1017472..f1480cf 100644

Re: [PATCHv4 5/9] builtin/notes: Simplify early exit code in add()

2014-11-10 Thread Junio C Hamano
Johan Herland writes: > Signed-off-by: Johan Herland > --- > builtin/notes.c | 12 +--- > 1 file changed, 5 insertions(+), 7 deletions(-) > > diff --git a/builtin/notes.c b/builtin/notes.c > index 1017472..f1480cf 100644 > --- a/builtin/notes.c > +++ b/builtin/notes.c > @@ -399,7 +399,7

[PATCHv4 5/9] builtin/notes: Simplify early exit code in add()

2014-11-09 Thread Johan Herland
Signed-off-by: Johan Herland --- builtin/notes.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/builtin/notes.c b/builtin/notes.c index 1017472..f1480cf 100644 --- a/builtin/notes.c +++ b/builtin/notes.c @@ -399,7 +399,7 @@ static int append_edit(int argc, const