Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

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

From: Eric Sunshine <hidden>
Date: 2016-06-15 23:03:58

Possibly related (same subject, not in this thread)

On Wed, Mar 4, 2015 at 2:07 AM, Sudhanshu Shekhar
[off-list ref] wrote:
quoted
Matthieu Moy [off-list ref] writes:
quoted
Sudhanshu Shekhar [off-list ref] writes:
quoted
From: SudShekhar <redacted>
+             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'.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help