See the modified class/method in diffs

Bug #607707 reported by Andrea Corbellini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned
Breezy
Triaged
Low
Unassigned

Bug Description

Git has a really interesting and useful feature: in the diff it shows near the line numbers also the modified class/method name. For example:

--- a/test.py
+++ b/test.py
@@ -10,4 +10,4 @@ class TestClass(object):
     def abc(self):
- print 'Hello'
+ print 'Hello, world'

It'd be really cool to have this in Bazaar too.

Tags: diff easy
Revision history for this message
Martin Pool (mbp) wrote :

You can get this with 'bzr diff --diff-options -p'. (This depends on having gnu diff on your system.) Perhaps this should be on by default or builtin or easier to spell or controlled by an option.

Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
tags: added: diff easy
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Low
tags: removed: check-for-breezy
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.