prepend diffstat to diffs

Bug #48966 reported by Martin Pool
4
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Michael Ellerman
Breezy
Triaged
Wishlist
Unassigned

Bug Description

Sometimes it's nice to include a diffstat with a diff to show what was done. There is a plugin which provides 'bzr diffstat'.

It might be nicer if we could say 'bzr diff --stats' and prepend them. This could be implemented in Python to help people on windows.

Tags: diff ui
Martin Pool (mbp)
Changed in bzr:
importance: Untriaged → Wishlist
status: Unconfirmed → Confirmed
Revision history for this message
Michael Ellerman (michael-ellerman) wrote :

I'll try and clean up the diffstat plugin to make it mergeable. Then we can have 'bzr diffstat' which just produces the diffstat and 'bzr diff --stats' which gives the diffstat followed by the diff.

Changed in bzr:
assignee: nobody → michael-ellerman
Revision history for this message
Michael Ellerman (michael-ellerman) wrote :

This turns out to be a little move involved than I'd hoped, other than doing a naive implementation that just parses the diff, which I'd rather avoid. But I think it's doable, just might take a bit longer.

Revision history for this message
Gioele Barabucci (gioele) wrote :

Whenever this is implemented, it would be nice to have a --show-diffstat option for commit, along with --show-diff.

PS: Michael, you assigned this bug to you, are you still working on it?

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