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

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:36

Matthias Urlichs [off-list ref] writes:
quoted
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

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

From: Matthias Urlichs <hidden>
Date: 2016-06-15 22:43:36

Hi,

Junio C Hamano:
Matthias Urlichs [off-list ref] writes:
quoted
quoted
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. :-/

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Murphy's Law:
If anything can go wrong, it will.

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

From: Dan Libby <hidden>
Date: 2016-06-15 22:43:36

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:
Hi,

Junio C Hamano:
quoted
Matthias Urlichs [off-list ref] writes:
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help