summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2023-04-30 13:18:56 +0200
committerRene Ladan <rene@FreeBSD.org>2023-04-30 13:18:56 +0200
commit021979f6cf74e131e66ac7304fb53956df05cfe4 (patch)
treea28c16b29ee22a4f6d9fae1f73fa206dfefa9944 /Tools
parentTools/scripts/rmport: update copyright year (diff)
Tools/scripts/rmport: try to fix flow for amending the final commit
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/rmport2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index e77c96b7306a..f478c5856c2f 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -316,7 +316,7 @@ commit()
answer=$(ask "Do you want to tweak the commit message")
if [ "${answer}" = "y" ] ; then
${GIT} pull --ff-only --rebase 2>&1
- ${GIT} commit 2>&1 # modify final commit message
+ ${GIT} commit --amend # modify final commit message
echo "All done, check the result and push when everything is OK."
fi
}