Closed Bug 430554 Opened 16 years ago Closed 16 years ago

Bugzilla patch diffs don't show lines starting with "-"

Categories

(Bugzilla :: Attachments & Requests, defect)

3.0.3
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 233695

People

(Reporter: dholbert, Unassigned)

Details

Attachments

(1 file)

A patch I just looked at on bugzilla had a deleted line that just contained "-->", which translates into "--->" in the patch (the extra initial "-" meaning "deleted")

This line was completely ignored by Bugzilla's "diff viewer" -- it's not displayed at all.

This was on https://bugzilla.mozilla.org/, which is currently running "version 3.0.3+" of bugzilla.
Attached patch example patchSplinter Review
Assignee: ui → attach-and-request
Component: User Interface → Attachments & Requests
Whiteboard: DUPME
If you look directly at the example patch here...
   https://bugzilla.mozilla.org/attachment.cgi?id=317389
you'll see that it removes a line with the contents "-Here's a line beginning with a dash."

However, this line isn't shown at all in the "diff view" here:
   https://bugzilla.mozilla.org/attachment.cgi?id=317389&action=diff
It should appear on the left side of that diff viewer, between "Blah blah blah." and "foo bar".
OS: Linux → All
Hardware: PC → All
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
V.Duplicate
Status: RESOLVED → VERIFIED
Whiteboard: DUPME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: