Incorrect display of diff lines starting with +++

Bug #553642 reported by Josh Holland
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Tim Penhey

Bug Description

When I look at a diff (typically a patch inserted into debian/patches in an Ubuntu package branch) that contains a line starting with a "+", it is not highlighted as the other lines added are. I have attached a screenshot taken from https://code.edge.launchpad.net/~jshholland/ubuntu/lucid/predict/fix-buffer-overflow with the offending line highlighted.

Related branches

Revision history for this message
Josh Holland (jshholland) wrote :
affects: launchpad → launchpad-code
Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 553642] [NEW] Incorrect display of diff lines starting with +++

On 04/05/2010 11:04 AM, Launchpad Bug Tracker wrote:
> You have been subscribed to a public bug:
>
> When I look at a diff (typically a patch inserted into debian/patches in
> an Ubuntu package branch) that contains a line starting with a "+", it
> is not highlighted as the other lines added are.

This is no doubt because we want to display the filename indicator lines
of the actual patch (e.g. '+++ debian/changelog') differently from the
insertions and deletions of lines.

Aaron

Revision history for this message
Josh Holland (jshholland) wrote :

Sure, but where the diff shown in Launchpad is of the addition of a patch (which contains e.g. '+++ src/include.h'), there are 4 '+' characters. Another example is line 39 of https://code.edge.launchpad.net/~jshholland/ubuntu/lucid/ghostscript/preview-pdf-patch/+merge/22683.

Tim Penhey (thumper)
tags: added: code-review confusing-ui trivial
Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Medium
Tim Penhey (thumper)
Changed in launchpad-code:
status: Triaged → Fix Committed
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in launchpad-code:
assignee: nobody → Tim Penhey (thumper)
milestone: none → 10.06
tags: added: qa-needstesting
Tim Penhey (thumper)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-code:
status: Fix Committed → Fix Released
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.