public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* List user branches on git web
@ 2020-07-10  8:19 Martin Liška
  2020-07-10  8:23 ` Martin Liška
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Liška @ 2020-07-10  8:19 UTC (permalink / raw)
  To: GCC Development; +Cc: Frank Ch. Eigler, Jonathan Wakely

Hey.

Sometimes it's handy to send somebody a user branch link. However, the
current URL is long as:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=heads;h=refs/users/marxin/heads

Would it be possible to make some alias? Something like:
https://gcc.gnu.org/git-branches/marxin

Thanks,
Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: List user branches on git web
  2020-07-10  8:19 List user branches on git web Martin Liška
@ 2020-07-10  8:23 ` Martin Liška
  2020-07-17 19:13   ` Frank Ch. Eigler
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Liška @ 2020-07-10  8:23 UTC (permalink / raw)
  To: GCC Development; +Cc: Jonathan Wakely, Frank Ch. Eigler

On 7/10/20 10:19 AM, Martin Liška wrote:
> current URL is long as:
> https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=heads;h=refs/users/marxin/heads

Apparently such page does not list user branches.

So we can at least redirect to a user branch log:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=log;h=refs/users/marxin/heads/slp-function-v4

So a redirection from
https://gcc.gnu.org/git-branches/marxin/heads/slp-function-v4
?

Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: List user branches on git web
  2020-07-10  8:23 ` Martin Liška
@ 2020-07-17 19:13   ` Frank Ch. Eigler
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2020-07-17 19:13 UTC (permalink / raw)
  To: Martin Liška; +Cc: GCC Development, Jonathan Wakely

Hi -

> > https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=heads;h=refs/users/marxin/heads
> 
> Apparently such page does not list user branches.

I believe this is because of unusual gcc git conventions, where the
refs/heads/ and refs/users/heads/ directories are distinct.  I believe
have gitweb expose those via the config knob extra-branch-refs, which
can also be set via .git/config.

> So a redirection from
> https://gcc.gnu.org/git-branches/marxin/heads/slp-function-v4

... if the above is done, then this probably is not necessary.

- FChE

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-17 19:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10  8:19 List user branches on git web Martin Liška
2020-07-10  8:23 ` Martin Liška
2020-07-17 19:13   ` Frank Ch. Eigler

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 read-only IMAP folder(s) and NNTP newsgroup(s).