Re: [PATCH] reset: allow "-" short hand for previous commit
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Mar 4, 2015, 07:10 UTC
- Message-ID
- <CAPig+cRXZ+QRqxGPCkHTbW7ZbuPVpJndZU-7mS7GdtnqScfwfg@mail.gmail.com>
- In-Reply-To
- <CAODo60qimjiMfWY_FNuOcVaYc=JdbTv_4SJ3BROC-9Jo5qWkdA@mail.gmail.com>
On Wed, Mar 4, 2015 at 2:07 AM, Sudhanshu Shekhar <sudshekhar02@gmail.com> wrote:
Show 10 quoted lines
>> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
>>> Sudhanshu Shekhar <sudshekhar02@gmail.com> writes:
>>>> From: SudShekhar <sudshekhar02@gmail.com>
>>>
>>> + if(!strcmp(argv[0],"-"))
>>> + argv[0]="@{-1}";
>>>
>>> Wrong spacing (around = and after ,).
>
> Thanks for pointing this out. I have corrected it.Also, add a space after 'if'.