Re: [PATCHv8 4/9] receive-pack.c: simplify execute_commands

2014-12-30 Thread Eric Sunshine
On Tue, Dec 30, 2014 at 3:33 PM, Stefan Beller wrote: > On Mon, Dec 29, 2014 at 10:11 PM, Eric Sunshine > wrote: >> On Mon, Dec 29, 2014 at 9:36 PM, Stefan Beller wrote: >>> +static int should_process_cmd(struct command *cmd) >>> +{ >>> + if (cmd->error_string) >>> + return

Re: [PATCHv8 4/9] receive-pack.c: simplify execute_commands

2014-12-30 Thread Stefan Beller
On Mon, Dec 29, 2014 at 10:11 PM, Eric Sunshine wrote: > On Mon, Dec 29, 2014 at 9:36 PM, Stefan Beller wrote: >> No functional changes intended. > > This is useful to know but is of secondary importance, thus should be > placed after the explanation and justification of the change. > >> Subject:

Re: [PATCHv8 4/9] receive-pack.c: simplify execute_commands

2014-12-30 Thread Eric Sunshine
On Tue, Dec 30, 2014 at 3:42 AM, Stefan Beller wrote: > On Mon, Dec 29, 2014 at 11:46 PM, Eric Sunshine > wrote: >> On Mon, Dec 29, 2014 at 9:36 PM, Stefan Beller wrote: >>> No functional changes intended. >>> +static void check_shallow_bugs(struct command *commands, >>> +

Re: [PATCHv8 4/9] receive-pack.c: simplify execute_commands

2014-12-30 Thread Stefan Beller
On Mon, Dec 29, 2014 at 11:46 PM, Eric Sunshine wrote: > On Mon, Dec 29, 2014 at 9:36 PM, Stefan Beller wrote: >> No functional changes intended. >> >> This commit shortens execute_commands by moving some parts of the code >> to extra functions. >> >> Suggested-by: Eric Sunshine >> Signed-off-by

Re: [PATCHv8 4/9] receive-pack.c: simplify execute_commands

2014-12-30 Thread Stefan Beller
reply to all instead of reply to Eric only. On Mon, Dec 29, 2014 at 10:11 PM, Eric Sunshine wrote: > In v6, you considered this a fatal error in the atomic case, which > caused the entire transaction to be rolled back. However, in this > version, this error has no effect whatsoever on the atomic

Re: [PATCHv8 4/9] receive-pack.c: simplify execute_commands

2014-12-29 Thread Eric Sunshine
On Mon, Dec 29, 2014 at 9:36 PM, Stefan Beller wrote: > No functional changes intended. > > This commit shortens execute_commands by moving some parts of the code > to extra functions. > > Suggested-by: Eric Sunshine > Signed-off-by: Stefan Beller > --- > diff --git a/builtin/receive-pack.c b/bu

Re: [PATCHv8 4/9] receive-pack.c: simplify execute_commands

2014-12-29 Thread Eric Sunshine
On Mon, Dec 29, 2014 at 9:36 PM, Stefan Beller wrote: > No functional changes intended. This is useful to know but is of secondary importance, thus should be placed after the explanation and justification of the change. > Subject: receive-pack.c: simplify execute_commands > This commit shortens

[PATCHv8 4/9] receive-pack.c: simplify execute_commands

2014-12-29 Thread Stefan Beller
No functional changes intended. This commit shortens execute_commands by moving some parts of the code to extra functions. Suggested-by: Eric Sunshine Signed-off-by: Stefan Beller --- Notes: v8: no change v7: new in v7 as in v7 I'd split up the previous [PATCH 4/7] recei