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

Re: [PATCH 2/3] Handle branch names with slashes

From
Karl Hasselström <kha@treskal.com>
Date
May 15, 2006, 10:58 UTC
Message-ID
<20060515105810.GA27077@diana.vm.bytemark.co.uk>
In-Reply-To
<b0943d9e0605150322w684785d5n9b17dccda6b29ac1@mail.gmail.com>
On 2006-05-15 11:22:08 +0100, Catalin Marinas wrote:
Show 10 quoted lines
> There is one problem with killing "/" entirely (or maybe we could
> use other character than "#"). I tend to write quite often "stg diff
> -r /bottom" to see how the whole patch looks like before refreshing.
> With "#", the shell ignores "#bottom" as being a comment.
>
> Otherwise, I'm OK with changing "/" with something else or just
> keeping both (though I prefer to have a singe way of specifying it).
> It looks like ^ and ~ are already used by GIT. It leaves us with %
> and !. Do you have any preference? The exclamation mark looks OK to
> me.

Ah, right. Well, I would prefer %, since ! is used for some kind of shell history searching, but % is not touched by the shell, I think.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Catalin MarinasNext: Karl Hasselström
Message 4 of 15 in “Don't die when there are no branches”
  1. 1/3 Don't die when there are no branchesKarl Hasselström, May 15, 2006
  2. 2/3 Handle branch names with slashesKarl Hasselström, May 15, 2006
  3. Catalin MarinasMay 15, 2006
  4. Karl HasselströmMay 15, 2006
  5. 1/2 Handle branch names with slashesKarl Hasselström, May 16, 2006
  6. Junio C HamanoMay 16, 2006
  7. Karl HasselströmMay 16, 2006
  8. Catalin MarinasMay 17, 2006
  9. 1/2 Handle branch names with slashesKarl Hasselström, May 18, 2006
  10. Handle branch names with slashesKarl Hasselström, May 18, 2006
  11. Catalin MarinasMay 18, 2006
  12. Karl HasselströmMay 18, 2006
  13. 2/2 Tests for branch names with slashesKarl Hasselström, May 18, 2006
  14. 2/2 Tests for branch names with slashesKarl Hasselström, May 16, 2006
  15. 3/3 Tests for branch names with slashesKarl Hasselström, May 15, 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.