summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorLibravatar Sverre Rabbelier <srabbelier@gmail.com>2009-12-04 18:06:57 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-12-04 16:10:22 -0800
commit9c8398f0c9d1fc92df5c1a7a52c810294d8ac3f8 (patch)
treec4afde8f9e0851cc8d83f1b72bdb0857d484da5b /remote.c
parentfast-import: add feature command (diff)
downloadtgif-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 'remote.c')
0 files changed, 0 insertions, 0 deletions