summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b4f6718)
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.keepoptimized': 'no',
'stgit.extensions': '.ancestor .current .patched',
'stgit.shortnr': '5',
'stgit.keepoptimized': 'no',
'stgit.extensions': '.ancestor .current .patched',
'stgit.shortnr': '5',
- 'stgit.pager': 'less -FRSX'
global config
os.environ.setdefault('PAGER', config.get('stgit.pager'))
global config
os.environ.setdefault('PAGER', config.get('stgit.pager'))
+ os.environ.setdefault('LESS', '-FRSX')
# FIXME: handle EDITOR the same way ?
class ConfigOption:
# FIXME: handle EDITOR the same way ?
class ConfigOption: