From 2297f34643b28ce785ccada3424f4047e0a44b8d Mon Sep 17 00:00:00 2001 From: EUcancER Date: Thu, 8 Sep 2011 00:09:46 +0200 Subject: 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" --- commands/rev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/rev') 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" -- cgit v1.2.3