projects
/
tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f88b33
)
pick-to-branch: restrict 'git pull --ff-only' to target branch
author
Dr. David von Oheimb
<David.von.Oheimb@siemens.com>
Fri, 26 Nov 2021 14:14:52 +0000
(15:14 +0100)
committer
Tomas Mraz
<tomas@openssl.org>
Fri, 3 Dec 2021 11:44:27 +0000
(12:44 +0100)
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/tools/pull/101)
review-tools/pick-to-branch
patch
|
blob
|
history
diff --git
a/review-tools/pick-to-branch
b/review-tools/pick-to-branch
index a1e05b1f012c32c95f06e0c8cc9e2533a617db41..dd361297722e0222957846fdd89c47087477a798 100755
(executable)
--- a/
review-tools/pick-to-branch
+++ b/
review-tools/pick-to-branch
@@
-110,7
+110,7
@@
trap 'cleanup' EXIT
git checkout --quiet master
git checkout $target
ORIG_TARGET_HEAD=`git show -s --format="%H"`
-git pull --ff-only
+git pull --ff-only
`git rev-parse --abbrev-ref @{u} | sed "s|/| |"`
CHERRYPICKING=1
git cherry-pick -e -x $id~$num..$id || (git cherry-pick --abort; exit 1)
CHERRYPICKING=