@@ -297,7 +297,7 @@ find_latest_squash () {
297
297
main=
298
298
sub=
299
299
git log --grep=" ^git-subtree-dir: $dir /*\$ " \
300
- --pretty=format:' START %H%n%s%n%n%b%nEND%n' HEAD |
300
+ --no-show-signature -- pretty=format:' START %H%n%s%n%n%b%nEND%n' HEAD |
301
301
while read a b junk
302
302
do
303
303
debug " $a $b $junk "
@@ -341,7 +341,7 @@ find_existing_splits () {
341
341
main=
342
342
sub=
343
343
git log --grep=" ^git-subtree-dir: $dir /*\$ " \
344
- --pretty=format:' START %H%n%s%n%n%b%nEND%n' $revs |
344
+ --no-show-signature -- pretty=format:' START %H%n%s%n%n%b%nEND%n' $revs |
345
345
while read a b junk
346
346
do
347
347
case " $a " in
@@ -382,7 +382,7 @@ copy_commit () {
382
382
# We're going to set some environment vars here, so
383
383
# do it in a subshell to get rid of them safely later
384
384
debug copy_commit " {$1 }" " {$2 }" " {$3 }"
385
- git log -1 --pretty=format:' %an%n%ae%n%aD%n%cn%n%ce%n%cD%n%B' " $1 " |
385
+ git log -1 --no-show-signature -- pretty=format:' %an%n%ae%n%aD%n%cn%n%ce%n%cD%n%B' " $1 " |
386
386
(
387
387
read GIT_AUTHOR_NAME
388
388
read GIT_AUTHOR_EMAIL
@@ -462,8 +462,8 @@ squash_msg () {
462
462
oldsub_short=$( git rev-parse --short " $oldsub " )
463
463
echo " Squashed '$dir /' changes from $oldsub_short ..$newsub_short "
464
464
echo
465
- git log --pretty=tformat:' %h %s' " $oldsub ..$newsub "
466
- git log --pretty=tformat:' REVERT: %h %s' " $newsub ..$oldsub "
465
+ git log --no-show-signature -- pretty=tformat:' %h %s' " $oldsub ..$newsub "
466
+ git log --no-show-signature -- pretty=tformat:' REVERT: %h %s' " $newsub ..$oldsub "
467
467
else
468
468
echo " Squashed '$dir /' content from commit $newsub_short "
469
469
fi
@@ -475,7 +475,7 @@ squash_msg () {
475
475
476
476
toptree_for_commit () {
477
477
commit=" $1 "
478
- git log -1 --pretty=format: ' %T ' " $commit " -- || exit $?
478
+ git rev-parse --verify " $commit ^{tree} " || exit $?
479
479
}
480
480
481
481
subtree_for_commit () {
0 commit comments