diff options
author | Sverre Rabbelier <srabbelier@gmail.com> | 2009-12-04 18:06:57 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-04 16:10:22 -0800 |
commit | 9c8398f0c9d1fc92df5c1a7a52c810294d8ac3f8 (patch) | |
tree | c4afde8f9e0851cc8d83f1b72bdb0857d484da5b /t/valgrind | |
parent | fast-import: add feature command (diff) | |
download | tgif-9c8398f0c9d1fc92df5c1a7a52c810294d8ac3f8.tar.xz |
fast-import: add option command
This allows the frontend to specify any of the supported options as
long as no non-option command has been given. This way the
user does not have to include any frontend-specific options, but
instead she can rely on the frontend to tell fast-import what it
needs.
Also factor out parsing of argv and have it execute when we reach the
first non-option command, or after all commands have been read and
no non-option command has been encountered.
Non-git options are ignored, unrecognised options result in an error.
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/valgrind')
0 files changed, 0 insertions, 0 deletions