Re: [PATCH v3 1/3] gitweb: fix #patchNN anchors when path_info is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 18, 2011 at 5:59 AM, Jakub Narebski <jnareb@xxxxxxxxx> wrote:
> Â Â Â Â$params{'project'} = $project unless exists $params{'project'};
>
> + Â Â Â # implicit -replay
> + Â Â Â $params{-replay} = 1 if (keys %params == 1 && $params{-anchor});

If this test occurs after $params{'project'} is set, it needs to count
both 'project' and '-anchor':

> +       $params{-replay} = 1 if (keys %params == 2 && $params{-anchor});
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]