[PATCH 5/5] builtin/commit.c: reduce scope of variables

2014-01-30 Thread Elia Pinto
Signed-off-by: Elia Pinto gitter.spi...@gmail.com --- This a reroll of a previous patch. Corrected the declaration after statement issue. builtin/commit.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/builtin/commit.c b/builtin/commit.c index 3767478..a684296

[PATCH 5/5] builtin/commit.c: reduce scope of variables

2014-01-29 Thread Elia Pinto
Signed-off-by: Elia Pinto gitter.spi...@gmail.com --- builtin/commit.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/builtin/commit.c b/builtin/commit.c index 3767478..eea4421 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -307,7 +307,6 @@ static char

Re: [PATCH 5/5] builtin/commit.c: reduce scope of variables

2014-01-29 Thread Eric Sunshine
On Wed, Jan 29, 2014 at 8:48 AM, Elia Pinto gitter.spi...@gmail.com wrote: diff --git a/builtin/commit.c b/builtin/commit.c index 3767478..eea4421 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -1510,7 +1511,6 @@ int cmd_commit(int argc, const char **argv, const char *prefix)