From: Martin Langhoff Date: Wed, 2 Nov 2005 00:48:47 +0000 (+1300) Subject: cvsimport: introduce -P option X-Git-Tag: v0.99.9b^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=211dcac6430cdf77fcf2a968ffaf9313b5c059b0;p=git.git cvsimport: introduce -P option -P:: Instead of calling cvsps, read the provided cvsps output file. Useful for debugging or when cvsps is being handled outside cvsimport. Signed-off-by: Martin Langhoff Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt index f5248c91c..a2f97b392 100644 --- a/Documentation/git-cvsimport.txt +++ b/Documentation/git-cvsimport.txt @@ -60,6 +60,10 @@ the old cvs2git tool. + If you need to pass multiple options, separate them with a comma. +-P:: + Instead of calling cvsps, read the provided cvsps output file. Useful + for debugging or when cvsps is being handled outside cvsimport. + -m:: Attempt to detect merges based on the commit message. This option will enable default regexes that try to capture the name source diff --git a/git-cvsimport.perl b/git-cvsimport.perl index e3cad5a1c..0144670a5 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -29,7 +29,7 @@ use IPC::Open2; $SIG{'PIPE'}="IGNORE"; $ENV{'TZ'}="UTC"; -our($opt_h,$opt_o,$opt_v,$opt_k,$opt_u,$opt_d,$opt_p,$opt_C,$opt_z,$opt_i,$opt_s,$opt_m,$opt_M); +our($opt_h,$opt_o,$opt_v,$opt_k,$opt_u,$opt_d,$opt_p,$opt_C,$opt_z,$opt_i,$opt_P, $opt_s,$opt_m,$opt_M); sub usage() { print STDERR <