Re: Complex gitweb URL

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

 



Thanks, Jakub, for the quick response.

On 07/20/16 02:20 PM, Jakub Narębski wrote:

>> If I replace the hb=SHA argument with hb=HEAD, the URL still works. But
>> I have no idea what I can use to replace the h=SHA argument.
>
> You can remove it.  'hb' (hash_base) and 'f' (filename) identify target
> file in a repository unambiguously.

If I do, leaving everything else present, I get "404 cannot find file".

>> A complication is that the target file is not in the master branch.
>> Somehow I need to be able to specify the branch. I've tried putting it
>> as the h= argument but that results in "Reading blob failed". If I leave
>> out the h= argument entirely, gitweb responds, "404 cannot find file".
>
> Did you forgot to set 'hb' parameter?  Is said file present in revision
> given by the 'hb' parameter?

The file is present in both master and develop branches. If I include 
hb=HEAD and leave out h=, gitweb doesn't find either of them. Using 
hb=HEAD and h=develop or h=master results in "Reading blob failed".
-- 
	Dave Close��.n��������+%������w��{.n��������n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�

[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]