summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xezbench.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/ezbench.sh b/ezbench.sh
index a93f0eb..4c84ad4 100755
--- a/ezbench.sh
+++ b/ezbench.sh
@@ -314,7 +314,10 @@ do
else
git reset --hard $commit > /dev/null
git show --format="%Cblue%h%Creset %Cgreen%s%Creset" -s
- git show --format="%h %s" -s >> $commitListLog
+ if [ -z "`grep ^$commit $commitListLog 2> /dev/null`" ]
+ then
+ git show --format="%h %s" -s >> $commitListLog
+ fi
git format-patch HEAD~ --format=fuller --stdout > $logsFolder/${commit}.patch
fi