Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-03-07 08:25:30 +0300
committerJunio C Hamano <gitster@pobox.com>2022-03-07 08:25:30 +0300
commit50e0dd8fee3828adafc27fc7c0a5262137577ddf (patch)
tree49af14540e60173b53851de4efffc6642c03835d /contrib
parente82874700174223d17bf3673874e6175840becc4 (diff)
parent2587df669bff9daeb7d2a66cfce6b1ce28af2ef3 (diff)
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