From: Matthieu Moy Date: Tue, 03 Mar 2015 22:10:54 GMT Subject: Re: [PATCH] reset: allow "-" short hand for previous commit Message-ID: In-Reply-To: <1425415911-496-1-git-send-email-sudshekhar02@gmail.com> Sudhanshu Shekhar writes: > From: SudShekhar Please, set your configuration to have the same identity for commit and send-email. It seems your commiter ID (user.name) does not contain your last name. > builtin/reset.c | 2 ++ Doesn't this deserve a test? + if(!strcmp(argv[0],"-")) + argv[0]="@{-1}"; Wrong spacing (around = and after ,). -- Matthieu Moy http://www-verimag.imag.fr/~moy/