Set the LESS environment if the pager is 'less'
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 13 Jul 2009 22:06:07 +0000 (23:06 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 13 Jul 2009 22:06:07 +0000 (23:06 +0100)
commite6bca570feaf606dc80a53c9932ec4dca1076784
tree86dd955c4cfb9c302348b42208f8fe52fa5ea6d7
parentb4f67189be1f267aa6bcb05d442f6e7c5cf6697f
Set the LESS environment if the pager is 'less'

This fixes the coloured output if the PAGER environment is set to less
(similar behaviour to Git).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
stgit/config.py