Re: [PATCH] reset: allow "-" short hand for previous commit
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 3, 2015, 22:10 UTC
- Message-ID
- <vpq4mq13f69.fsf@anie.imag.fr>
- In-Reply-To
- <1425415911-496-1-git-send-email-sudshekhar02@gmail.com>
Sudhanshu Shekhar <sudshekhar02@gmail.com> writes:
> From: SudShekhar <sudshekhar02@gmail.com>
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/