Subject: Re: [PATCH] reset: allow "-" short hand for previous commit

From: Matthieu Moy <[email-masked]>
Date: Tue, 03 Mar 2015 23:10:54 +0100

Sudhanshu Shekhar <[email-masked]> writes:

> From: SudShekhar <[email-masked]>

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/