From 7961b959e3d4f6a7a39e003213499d233af97d0a Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 28 Aug 2013 14:38:09 -0400 Subject: [PATCH] Better git log method for creating task time graph --- tools/gentasktime | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/gentasktime b/tools/gentasktime index dbc033d..c9a128b 100755 --- a/tools/gentasktime +++ b/tools/gentasktime @@ -1,6 +1,7 @@ #!/bin/bash src="${1?Missing source document}" +path="${2?Missing spec src path}" domake() { @@ -18,7 +19,7 @@ domake \ && \ ( echo -n '0 ' && gendate && tail -n1 taskstats.dat \ - && git log --first-parent --no-merges --pretty=format:'%ar %h' \ + && git log --no-merges --pretty=format:'%ar %h' -- "$path" \ | awk ' BEGIN { last=""