]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-am.sh
Merge branch 'bg/apply-fix-blank-at-eof'
[git.git] / git-am.sh
index a2004506c551ae484cae2a23044015cbeee64ba7..50a292a7da58aab3b5ce62347b02dee35395da2a 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
@@ -681,10 +681,7 @@ do
                [eE]*) git_editor "$dotest/final-commit"
                       action=again ;;
                [vV]*) action=again
-                      : ${GIT_PAGER=$(git var GIT_PAGER)}
-                      : ${LESS=-FRSX}
-                      export LESS
-                      $GIT_PAGER "$dotest/patch" ;;
+                      git_pager "$dotest/patch" ;;
                *)     action=again ;;
                esac
            done