savannah-hackers-public
[Top][All Lists]
Advanced

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

Re: [Savannah-hackers-public] Why is cgit showing the wrong stuff?


From: Assaf Gordon
Subject: Re: [Savannah-hackers-public] Why is cgit showing the wrong stuff?
Date: Thu, 29 Jan 2015 10:18:43 -0500

Hello,

This should be fixed now.

> On 01/28/2015 11:16 PM, Assaf Gordon wrote:
>> On Jan 28, 2015, at 17:37, Paul Smith <address@hidden> wrote:
>> 
>>> Looking at http://git.savannah.gnu.org/cgit for GNU make (at least)
>>> there's something bizarre about it:
>>> 
>>> http://git.savannah.gnu.org/cgit/make.git/tree
>>> 
>>> If I don't specify any tag or SHA in the URL, it always chooses some
>>> strange commit from 2013 as the default; for example:
> 
> An update:
> The 'make.git' repository on 'vcs.sv.gnu.org' seems to have some issue with 
> ambiguous 'master' refname.
> 
> This can be reproduced by running 'cgit' manually (on vcs):
> ====
> vcs# QUERY_STRING="url=make.git/commit" /var/www/git/cgit/cgit.cgi > /dev/null
> warning: refname 'master' is ambiguous.
> warning: refname 'master' is ambiguous.
> warning: refname 'master' is ambiguous.
> ====
> And so I guess 'cgit' gets confused about which one to display.

'make.git' had two 'master' refs:
===
    vcs:/srv/git/make.git# find -name "master" | xargs head
    ==> ./refs/heads/master <==
    e4ac28e83081fa273b19fa778d46c1e3052cb834

    ==> ./master <==
    a4937bc897320563091a77087baf1cdbe52885ab
===

I removed the older one (./master).

- Assaf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]