diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-06-13 18:45:44 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-17 17:08:16 -0700 |
commit | cd112cef999c59a7ca2a96c37b197d303a355924 (patch) | |
tree | a992fcbbfa44ac11be583e45c0cad8e7ea658f2a /pager.c | |
parent | ae448e3854d8b6e7e37aa88fa3917f5dd97f3210 (diff) | |
download | git-cd112cef999c59a7ca2a96c37b197d303a355924.tar.gz |
diff options: add --color
This patch is a slightly adjusted version of Junio's patch:
http://www.gelato.unsw.edu.au/archives/git/0604/19354.html
However, instead of using a config variable, this patch makes it available
as a diff option.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'pager.c')
-rw-r--r-- | pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ void setup_pager(void) close(fd[0]); close(fd[1]); - setenv("LESS", "-S", 0); + setenv("LESS", "-RS", 0); run_pager(pager); die("unable to execute pager '%s'", pager); exit(255); |