[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#237323: Diff output should be piped to pager



(Triaging old bugs.)

Although I agree the default should probably use a pager, for what it's
worth, this can be set in the config file as well. The 'diff' variable
controls what command is used to diff. By default, it is,

diff = diff -u CURRENT2 CURRENT1

(CURRENT1 and CURRENT2 are magic strings replaced with the two
filenames.)

You could change this to,

diff = diff -u CURRENT2 CURRENT1 | pager

-- 
Mark J. Nelson
Anadrome Research
http://www.kmjn.org


Reply to: