summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2015-09-07 19:51:42 +0300
committerMartin Peres <martin.peres@linux.intel.com>2015-09-07 19:51:42 +0300
commit67549424aa38579c0eb5becb00dc3ef1d57dfed4 (patch)
tree01569d95221066f0291db1ca35db01098383c3c4
parent2d48618d29f8a1a101c04a277362fe3fd330080a (diff)
core: do not repeat commits in the commit_list
This allows adding test results from a later run
-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