1
0
Fork 0

Better git log method for creating task time graph

master
Mike Gerwitz 2013-08-28 14:38:09 -04:00
parent 6ae5f7d616
commit 7961b959e3
1 changed files with 2 additions and 1 deletions

View File

@ -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=""