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"
This commit is contained in:
commit
50e0dd8fee
@ -86,7 +86,7 @@ do
|
|||||||
fi
|
fi
|
||||||
if test -s "$GIT_DIR/MERGE_RR"
|
if test -s "$GIT_DIR/MERGE_RR"
|
||||||
then
|
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 rerere
|
||||||
git checkout -q $commit -- .
|
git checkout -q $commit -- .
|
||||||
git rerere
|
git rerere
|
||||||
|
Loading…
Reference in New Issue
Block a user