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

Re: [PATCH] git-svnimport: Use separate arguments in the pipe for git-rev-parse

From
DLDan Libby <danda@osc.co.cr>
Date
Sep 21, 2007, 20:21 UTC
Message-ID
<200709211421.56587.danda@osc.co.cr>
In-Reply-To
<20070921102420.GJ11204@kiste.smurf.noris.de>
Hi,

I saw this, so I haven't run the strace command you mentioned. No need now, right?

I'm no expert on these things, but I'd think that it should be replacing (or escaping) any characters (not just spaces) that are not allowed by git-check-ref-format.

For us, replacing any such characters with _ should work fine.
regards,
On Friday 21 September 2007 04:24, Matthias Urlichs wrote:
Show 15 quoted lines
> Hi,
>
> Junio C Hamano:
> > Matthias Urlichs <smurf@smurf.noris.de> writes:
> > >> we do not like 'Cristian new code' as a tag name.
> > >
> > > Duh? That's a perfectly valid tag name.
> >
> > Is it?
> >
> > $ man git-check-ref-format
>
> Bah, stupid me. You're right, obviously.
>
> I'll replace them with underscores. :-/
-- 
Dan Libby

Open Source Consulting
San Jose, Costa Rica
http://osc.co.cr
phone: 011 506 223 7382
Fax: 011 506 223 7359
Previous: Matthias UrlichsNext: Dan Libby
Message 8 of 9 in “git-svnimport: Use separate arguments in the pipe for git-rev-parse”
  1. git-svnimport: Use separate arguments in the pipe for git-rev-parseMatthias Urlichs, Sep 18, 2007
  2. Junio C HamanoSep 18, 2007
  3. Matthias UrlichsSep 18, 2007
  4. Dan LibbySep 20, 2007
  5. Matthias UrlichsSep 21, 2007
  6. Junio C HamanoSep 21, 2007
  7. Matthias UrlichsSep 21, 2007
  8. Dan LibbySep 21, 2007
  9. Dan LibbySep 20, 2007

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.