summaryrefslogtreecommitdiff
path: root/tcwg-upstream2gerrit.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-01-25 20:51:15 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-01-25 20:53:49 +0000
commit071ca052dad4f476b8e17fa8d11c983cc1e1495d (patch)
tree8b3dcd745d452af04b1aa738b0c02733346410fc /tcwg-upstream2gerrit.sh
parent75ad793359e93c1f3c74bfd3c66ac47bc7a0a3d5 (diff)
tcwg-upstream2gerrit.sh: Do not try to git reset on patch_file.
This does not work, since $patch_file is a tmp file, not managed by git. Change-Id: I027c34efcd29d1a9b01979d08d060874961715b1
Diffstat (limited to 'tcwg-upstream2gerrit.sh')
-rwxr-xr-xtcwg-upstream2gerrit.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tcwg-upstream2gerrit.sh b/tcwg-upstream2gerrit.sh
index c20eb519..7325dbc5 100755
--- a/tcwg-upstream2gerrit.sh
+++ b/tcwg-upstream2gerrit.sh
@@ -87,7 +87,6 @@ for patch in $patches; do
patch -f -p0 < $patch_file || res=$?
if [ "$res" = "0" ]; then
git add .
- git reset $patch_file
git commit -m "Patch #$patch"
fi
popd