Re: [PATCH] submodule: remove a superfluous second check for the "new" variable

2017-04-17 Thread Sebastian Schuberth
On 2017-04-17 20:02, Stefan Beller wrote: >> diff --git a/submodule.c b/submodule.c >> index c52d663..68623bd 100644 >> --- a/submodule.c >> +++ b/submodule.c >> @@ -1396,8 +1396,7 @@ int submodule_move_head(const char *path, >> cp1.no_stdin = 1; >>

Re: [PATCH] submodule: remove a superfluous second check for the "new" variable

2017-04-17 Thread Stefan Beller
On Mon, Apr 17, 2017 at 12:59 AM, Sebastian Schuberth wrote: > Signed-off-by: Sebastian Schuberth > --- > submodule.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/submodule.c b/submodule.c > index c52d663..68623bd 100644

[PATCH] submodule: remove a superfluous second check for the "new" variable

2017-04-17 Thread Sebastian Schuberth
Signed-off-by: Sebastian Schuberth --- submodule.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/submodule.c b/submodule.c index c52d663..68623bd 100644 --- a/submodule.c +++ b/submodule.c @@ -1396,8 +1396,7 @@ int submodule_move_head(const char