From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: Possible but in gitweb
Date: Sat, 18 Nov 2006 18:35:12 +0100 [thread overview]
Message-ID: <ejng62$k2m$1@sea.gmane.org> (raw)
In-Reply-To: 4d8e3fd30611180858xf28e958g8511f2eb68d53848@mail.gmail.com
Paolo Ciarrocchi wrote:
> Hi all,
> I'm playing with a repo hosted by repos.os.cz and I think I faced a
> bug (Pasky confirmed that this should be reported here as a bug).
>
> My repo has two branches,
> * master
> html
>
> Master contains a text file while html contains his conversion in html
> done via asciidoc.
>
> I need to URLs that point to the top of the branches in order to have
> an easy way for linking the documentation to external portals.
>
> This link points to HEAD, so top of master:
> http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob_plain;f=LinuxKernelDevelopmentProcess;hb=HEAD
>
> Browsing the repo I reach the following URL
> http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=HEAD
> that is not accessible.
Because HEAD is master, not html, and there us no such file in master branch?
But all the following links
http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess.html;hb=html
http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess;hb=master
http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git?a=blob;f=LinuxKernelDevelopmentProcess;hb=HEAD
works
You can use
http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git/html:/LinuxKernelDevelopmentProcess.html
or
http://repo.or.cz/w/LinuxKernelDevelopmentProcess.git/html:LinuxKernelDevelopmentProcess.html
(and there is remote possibility that links would work, too)
> Looks like is not possible to obtain a link to the top of a branch
> different from master.
It is possible, but you must specify the branch.
P.S. Please reply also to git mailing list...
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
next prev parent reply other threads:[~2006-11-18 17:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-18 16:58 Possible but in gitweb Paolo Ciarrocchi
2006-11-18 17:35 ` Jakub Narebski [this message]
2006-11-18 17:42 ` Paolo Ciarrocchi
2006-11-18 18:01 ` Jakub Narebski
[not found] ` <4d8e3fd30611181003o6374f01cy504c0c058f374f1@mail.gmail.com>
2006-11-18 18:21 ` Jakub Narebski
2006-11-18 19:06 ` Luben Tuikov
2006-11-18 18:41 ` Petr Baudis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ejng62$k2m$1@sea.gmane.org' \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).