summaryrefslogtreecommitdiffstats
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
commit2625c851b728b45b41717827acc007a274572ed7 (patch)
treee163b1d9a76d502c062c95887bef1519d322893d
parent11709764eee4d3e77916f9de1285cd3a70f5aadb (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"
-rwxr-xr-xReaktor/commands/rev2
1 files changed, 1 insertions, 1 deletions
diff --git a/Reaktor/commands/rev b/Reaktor/commands/rev
index 9964fe3f..a8681ab9 100755
--- a/Reaktor/commands/rev
+++ b/Reaktor/commands/rev
@@ -1,2 +1,2 @@
#! /bin/sh
-git rev-parse --short HEAD
+git log -1 --format="%h by %an, %ar"