summaryrefslogtreecommitdiff
path: root/ezbench.sh
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2015-08-13 11:05:21 +0300
committerMartin Peres <martin.peres@linux.intel.com>2015-08-13 11:05:21 +0300
commit5d27e9b01bd04a6f20df44d36d56d76ed8e307e3 (patch)
tree0fc55feb6dc290028cc094a5c113f41106e2f9ec /ezbench.sh
parenta5bc2bc2463b535cb828045bc496239aebb47ec1 (diff)
core: save the commits as we go
Diffstat (limited to 'ezbench.sh')
-rwxr-xr-xezbench.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ezbench.sh b/ezbench.sh
index 384c075..e7e2d0f 100755
--- a/ezbench.sh
+++ b/ezbench.sh
@@ -289,10 +289,12 @@ do
git stash apply $stash > /dev/null
echo -e "${c_bright_yellow}WIP${c_reset}"
echo "$commit" >> $commitListLog
+ git diff > $logsFolder/${commit}.patch
else
git reset --hard $commit > /dev/null
git show --format="%Cblue%h%Creset %Cgreen%s%Creset" -s
git show --format="%h %s" -s >> $commitListLog
+ git format-patch HEAD~ --stdout > $logsFolder/${commit}.patch
fi
compile