Add note about colordiff and less -R.
authorZac Medico <zmedico@gentoo.org>
Thu, 2 Dec 2010 00:28:42 +0000 (16:28 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 4 Dec 2010 06:27:39 +0000 (22:27 -0800)
cnf/dispatch-conf.conf
cnf/etc-update.conf

index 4fed03282f2651deebdc971cadcc205804de0d83..33ad156e68151a7aa29e882366676abf992114e3 100644 (file)
@@ -12,6 +12,8 @@ use-rcs=no
 # Diff for display
 # %s old file
 # %s new file
+# If using colordiff instead of diff, the less -R option may be required
+# for correct display.
 diff="diff -Nu '%s' '%s' | less --no-init --QUIT-AT-EOF"
 
 # Diff for interactive merges.
index fcb4f582b05ea90b0baca2274a278b8a925d685d..8157c3dc77066402aa7a2406dbd6b80e88581577 100644 (file)
@@ -29,6 +29,8 @@ pager="less"
 #diff_command="vim -d %file1 %file2"
 #using_editor=1
 
+# If using colordiff instead of diff, the less -R option may be required
+# for correct display (see 'pager' setting above).
 diff_command="diff -uN %file1 %file2"
 using_editor=0