aboutsummaryrefslogtreecommitdiffstats
path: root/commands/rev
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-09-08 00:09:46 +0200
committerEUcancER <root@euer.krebsco.de>2011-09-08 00:09:46 +0200
commit2297f34643b28ce785ccada3424f4047e0a44b8d (patch)
treee3a9f428176f827c0af09b37f69fea9668573402 /commands/rev
parentd48bf66f52f3f9ac755da3e5490f31546c05dfbf (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/rev')
-rwxr-xr-xcommands/rev2
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"