Skip to content

Commit

Permalink
Merge branch 'jc/rerere-train-modernise'
Browse files Browse the repository at this point in the history
Small modernization of the rerere-train script (in contrib/).

* jc/rerere-train-modernise:
  rerere-train: two fixes to the use of "git show -s"
  • Loading branch information
gitster committed Mar 7, 2022
2 parents e828747 + 2587df6 commit 50e0dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/rerere-train.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50e0dd8

Please sign in to comment.