Skip to content

Commit 50e0dd8

Browse files
committed
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"
2 parents e828747 + 2587df6 commit 50e0dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/rerere-train.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ do
8686
fi
8787
if test -s "$GIT_DIR/MERGE_RR"
8888
then
89-
git show -s --pretty=format:"Learning from %h %s" "$commit"
89+
git --no-pager show -s --format="Learning from %h %s" "$commit"
9090
git rerere
9191
git checkout -q $commit -- .
9292
git rerere

0 commit comments

Comments
 (0)