Skip to content

Commit c8265ac

Browse files
author
Linus Torvalds
committed
git-whatchanged: allow other pagers
(but still try to use '-S' if using less)
1 parent ca3ebdf commit c8265ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-whatchanged

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
git-rev-list HEAD | git-diff-tree --stdin -v -r "$@" | less -S
2+
git-rev-list HEAD | git-diff-tree --stdin -v -r "$@" | LESS="$LESS -S" ${PAGER:-less}

0 commit comments

Comments
 (0)