git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* option directive to fast-import
@ 2009-08-02  1:29 Sverre Rabbelier
  2009-08-02  5:06 ` [RFC PATCH 0/3] fast-import: add option command Sverre Rabbelier
  0 siblings, 1 reply; 8+ messages in thread
From: Sverre Rabbelier @ 2009-08-02  1:29 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: Git List

Heya,

What would you think of a 'option' directive to fast-import?

'option' SP <option> SP <value> LF

Where <option> is:

import-marks
export-marks
force_update
quiet
stats
date-format
depth
active-branches
export-pack-edges

I just checked them all, and as far as I can see, as long as the
option directives come before any data, there should be no negative
side-effects to setting these values 'late'. The upside would be that
the frontend can tell git fast-import it's preferences, so that the
user does not have to type a humongous commandline, but instead can
suffice to just go with 'foo fast-export | git fast-import'. Of
course, the user might want to override these options manually, so the
option directives should only be honored if no commandline flag is
given.

Would you accept such a patch? If yes, I'll whip something up :).

-- 
Cheers,

Sverre Rabbelier

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-08-03  4:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-02  1:29 option directive to fast-import Sverre Rabbelier
2009-08-02  5:06 ` [RFC PATCH 0/3] fast-import: add option command Sverre Rabbelier
2009-08-02  5:06   ` [RFC PATCH 1/2] fast-import: put option parsing code in seperate functions Sverre Rabbelier
2009-08-02  5:06     ` [RFC PATCH 2/2] fast-import: add option command Sverre Rabbelier
2009-08-02  5:06       ` [RFC PATCH 3/3] fast-import: test the new " Sverre Rabbelier
2009-08-02  7:09     ` [RFC PATCH v1a 1/3] fast-import: put option parsing code in seperate functions Sverre Rabbelier
2009-08-03  0:15   ` [RFC PATCH 0/3] fast-import: add option command Shawn O. Pearce
2009-08-03  4:31     ` Sverre Rabbelier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).