Add option to specify diff program

Bug #1842153 reported by Sam Bull
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Invalid
Wishlist
Unassigned

Bug Description

brz diff is not in colour. Please add an option to specify the diff program/command that brz uses, so this can be changed to e.g. colordiff.

Tags: diff
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Isn't this what the --using option for 'brz diff' does?

Revision history for this message
Sam Bull (dreamsorcerer) wrote :

I meant a config option, to change the default program.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The easiest way to do this is with an alias, add the following lines to ~/.config/breezy/breezy.conf:

[ALIASES]
diff = diff --using=/usr/bin/colordiff

Changed in brz:
status: New → Triaged
importance: Undecided → Wishlist
tags: added: diff
Revision history for this message
Sam Bull (dreamsorcerer) wrote :

I think that solution is fine, but --using is not working correctly, see bug #1847915.

Changed in brz:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.