aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-03-06 21:25:30 -0800
committerJunio C Hamano <gitster@pobox.com>2022-03-06 21:25:30 -0800
commit50e0dd8fee3828adafc27fc7c0a5262137577ddf (patch)
tree49af14540e60173b53851de4efffc6642c03835d /contrib
parente82874700174223d17bf3673874e6175840becc4 (diff)
parent2587df669bff9daeb7d2a66cfce6b1ce28af2ef3 (diff)
downloadgit-50e0dd8fee3828adafc27fc7c0a5262137577ddf.tar.gz
Merge branch 'jc/rerere-train-modernise'
Small modernization of the rerere-train script (in contrib/). * jc/rerere-train-modernise: rerere-train: two fixes to the use of "git show -s"
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/rerere-train.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/rerere-train.sh b/contrib/rerere-train.sh
index 75125d6ae0..26b724c8c6 100755
--- a/contrib/rerere-train.sh
+++ b/contrib/rerere-train.sh
@@ -86,7 +86,7 @@ do
fi
if test -s "$GIT_DIR/MERGE_RR"
then
- git show -s --pretty=format:"Learning from %h %s" "$commit"
+ git --no-pager show -s --format="Learning from %h %s" "$commit"
git rerere
git checkout -q $commit -- .
git rerere