Re: user branches
On Jul 29 2023, Martin Uecker via Gcc wrote: > is it still possible to have user branches in the repository? Yes, but they are in the refs/users namespace (not refs/heads), see https://gcc.gnu.org/gitwrite.html#vendor -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
user branches
Hi all, is it still possible to have user branches in the repository? If so, how do I create one? Simply pushing to users/uecker/vla or something is rejected. Martin
Re: List user branches on git web
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
Re: List user branches on git web
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
List user branches on git web
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