Re: [PATCH] cvsimport move over to using git for each ref to read refs

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

Re: [PATCH] cvsimport move over to using git for each ref to read refs

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:41

Andy Whitcroft [off-list ref] writes:
quoted
About the quoting and parsing, language specific quoting mode is
meant for git-for-each-ref to produce a string that can be eval'ed
in the host language.  Think of the command as a tool to write a
short program for you.
Thanks for the education.  Very simple, and very powerful.  I knew there
was a reason for it out there.  Will respin a V3 patch in a bit.
This probably showed that my initial description and example for
the feature found in Documentation/git-for-each-ref was lacking.

I would appreciate a separate patch to enhance it if you are so
inclined.

Re: [PATCH] cvsimport move over to using git for each ref to read refs

From: Andy Whitcroft <hidden>
Date: 2016-06-15 22:42:41

Junio C Hamano wrote:
Andy Whitcroft [off-list ref] writes:
quoted
quoted
About the quoting and parsing, language specific quoting mode is
meant for git-for-each-ref to produce a string that can be eval'ed
in the host language.  Think of the command as a tool to write a
short program for you.
Thanks for the education.  Very simple, and very powerful.  I knew there
was a reason for it out there.  Will respin a V3 patch in a bit.
This probably showed that my initial description and example for
the feature found in Documentation/git-for-each-ref was lacking.

I would appreciate a separate patch to enhance it if you are so
inclined.
Actually the description in that manual page is pretty good.  But I
thought it was undocumented as the standard install does not install the
manual pages and I was getting the ones from my stable install to fool
me into thinking they were installed.  New developer error, doh.

That said I've taken the liberty of updating and clarifying the language
to make it very obvious from the outset that the language specific
output formats are for generating eval'able snippets and added a simple
example of it to complement your complex one.

Patch to follow.

-apw

Re: [PATCH] cvsimport move over to using git for each ref to read refs

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:41

Andy Whitcroft [off-list ref] writes:
... I've taken the liberty of updating and clarifying the language
to make it very obvious from the outset that the language specific
output formats are for generating eval'able snippets and added a simple
example of it to complement your complex one.

Patch to follow.
Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help