#27 Allow Comments on Unchanged Lines (Solution Included)

closed
nobody
None
5
2008-08-03
2005-04-02
No

I've made the following changes (basically passing a 1
instead of 0 to the link parameter) in ViewTopicInfo.pm
to allow comments to be made to unchanged lines. This
is often helpful when explaining an issue related to the
changed lines. If this feature is not desired in the default
configuration, please make it a configuration item.

- $render->delta_text($filename, $fn, $revision,
- $render->
{old_linenumber},
- $render->
{new_linenumber},
- $delta_text, 0,
$new, 0);
+ $render->delta_text($filename, $fn, $revision,
+ $render->
{old_linenumber},
+ $render->
{new_linenumber},
+ $delta_text, 0,
$new, 1);

- $render->delta_text($filename, $fn, $revision, $render-
>{old_linenumber},
- $render->
{new_linenumber}, $delta_text, 0, $new, 0);
+ $render->delta_text($filename, $fn, $revision,
$render->{old_linenumber},
+ $render->
{new_linenumber}, $delta_text, 0, $new, 1);

Discussion

  • David Sitsky

    David Sitsky - 2008-08-03
    • status: open --> closed
     
  • David Sitsky

    David Sitsky - 2008-08-03

    Logged In: YES
    user_id=208928
    Originator: NO

    This is available in 1.9.5 now.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks