git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Handle branch names with slashes

From
Karl Hasselström <kha@treskal.com>
Date
Feb 27, 2006, 12:11 UTC
Message-ID
<20060227121108.GA22398@diana.vm.bytemark.co.uk>
In-Reply-To
<20060217042108.GB28114@diana.vm.bytemark.co.uk>
On 2006-02-17 05:21:08 +0100, Karl Hasselström wrote:
Show 14 quoted lines
> On 2006-02-17 16:01:10 +1300, Sam Vilain wrote:
>
> > Karl Hasselström wrote:
> >
> > > Let StGIT grok branch names with slashes in them. It used to
> > > fall flat on its face when confronted with them.
> > >
> > > I think I've covered all, or at least most cases, but there are
> > > probably some bugs left if you look hard enough.
> >
> > Does `stgit -r patchname/bottom` still work?
>
> Yes (if you mean 'stg diff -r ... ' :-). It's just branches that can
> have slashes in their names, not patches.

There was a bug here after all: I just tried "stg pick multi@kha/patches" (to pick a patch named "multi" from the branch "kha/patches"), and StGIT tried to pick the patch from branch "kha".

Looking closer, I realized that the complete patch specification syntax is "patchname@branchname/bottom", not "patchname/bottom@branchname" as I had assumed. This is obviously hard to reconcile with branch names containing /.

Thoughts?
-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Karl HasselströmNext: Catalin Marinas
Message 5 of 11 in “bug: stgit doesn't handle branch names with / in them”
  1. Karl HasselströmFeb 14, 2006
  2. Handle branch names with slashesKarl Hasselström, Feb 17, 2006
  3. Sam VilainFeb 17, 2006
  4. Karl HasselströmFeb 17, 2006
  5. Karl HasselströmFeb 27, 2006
  6. Catalin MarinasFeb 27, 2006
  7. Karl HasselströmFeb 27, 2006
  8. Catalin MarinasFeb 17, 2006
  9. Karl HasselströmFeb 17, 2006
  10. Yann DirsonApr 12, 2006
  11. Karl HasselströmApr 18, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.