diff options
author | EUcancER <root@euer.krebsco.de> | 2011-09-08 00:09:46 +0200 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2011-09-08 00:09:46 +0200 |
commit | 2297f34643b28ce785ccada3424f4047e0a44b8d (patch) | |
tree | e3a9f428176f827c0af09b37f69fea9668573402 /commands | |
parent | d48bf66f52f3f9ac755da3e5490f31546c05dfbf (diff) |
reaktor/commands: rev shows age,author
this should nullify the race condition with git rev-parse HEAD
by using the correct command instead -> git log -1"
Diffstat (limited to 'commands')
-rwxr-xr-x | commands/rev | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/rev b/commands/rev index 9964fe3..a8681ab 100755 --- a/commands/rev +++ b/commands/rev @@ -1,2 +1,2 @@ #! /bin/sh -git rev-parse --short HEAD +git log -1 --format="%h by %an, %ar" |