Public bug reported: Ubuntu 16.04
The default /etc/colordiffrc produces this warning: Invalid colour specification for setting diff_cmd (diff) in /etc/colordiffrc The key is to comment out the line for diff_cmd: # Example colordiffrc file for dark backgrounds # # Set banner=no to suppress authorship info at top of # colordiff output banner=no # By default, when colordiff output is being redirected # to a file, it detects this and does not colour-highlight # To make the patch file *include* colours, change the option # below to 'yes' color_patches=no # Sometimes it can be useful to specify which diff command to # use: that can be specified here #diff_cmd=diff # # available colours are: white, yellow, green, blue, # cyan, red, magenta, black, # darkwhite, darkyellow, darkgreen, # darkblue, darkcyan, darkred, # darkmagenta, darkblack # # Can also specify 'none', 'normal' or 'off' which are all # aliases for the same thing, namely "don't colour highlight # this, use the default output colour" # plain=off newtext=darkgreen oldtext=darkred diffstuff=darkcyan cvsstuff=cyan ** Affects: colordiff (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1590025 Title: Invalid colour specification for setting diff_cmd (diff) in /etc/colordiffrc Status in colordiff package in Ubuntu: New Bug description: Ubuntu 16.04 The default /etc/colordiffrc produces this warning: Invalid colour specification for setting diff_cmd (diff) in /etc/colordiffrc The key is to comment out the line for diff_cmd: # Example colordiffrc file for dark backgrounds # # Set banner=no to suppress authorship info at top of # colordiff output banner=no # By default, when colordiff output is being redirected # to a file, it detects this and does not colour-highlight # To make the patch file *include* colours, change the option # below to 'yes' color_patches=no # Sometimes it can be useful to specify which diff command to # use: that can be specified here #diff_cmd=diff # # available colours are: white, yellow, green, blue, # cyan, red, magenta, black, # darkwhite, darkyellow, darkgreen, # darkblue, darkcyan, darkred, # darkmagenta, darkblack # # Can also specify 'none', 'normal' or 'off' which are all # aliases for the same thing, namely "don't colour highlight # this, use the default output colour" # plain=off newtext=darkgreen oldtext=darkred diffstuff=darkcyan cvsstuff=cyan To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/colordiff/+bug/1590025/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp