My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 173: Restore function/method name selection to hunk headers
10 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  ----


Sign in to add a comment
 
Reported by code-rev...@gtempaccount.com, Sep 24, 2009
Reported by Shawn Pearce <sop@google.com> on Sun May 10 16:25:11 PDT 2009
Source: JIRA GERRIT-173
Affected Version: 2.0.11

The unified diff view no longer includes the function header in the hunk
header lines.  This was broken when we rewrite the viewer in terms of JGit's
EditList support.

We should support scrolling backwards through the file until we match a
function header regexp, and then extract a function name to show in the hunk
header.  This helps improve the amount of context shown in the diff.
Sep 24, 2009
#1 sop+code@google.com
(No comment was entered for this change.)
Status: Accepted
Owner: ---
Feb 27, 2012
#2 pierre.h...@intersec-group.com
This is a very annoying thing, because it makes some diffs very hard to read with small contexts (and large contexts are very distracting)…
Sign in to add a comment

Powered by Google Project Hosting