Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-cvsexportcommit.perl: Fix usage() output.
author
Kevin Geiss
<kevin@desertsol.com>
Mon, 14 Nov 2005 16:45:05 +0000
(09:45 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 16 Nov 2005 21:20:58 +0000
(13:20 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsexportcommit.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
565cb99
)
diff --git
a/git-cvsexportcommit.perl
b/git-cvsexportcommit.perl
index 50b041c3247238f7b399c0648cc7c3bc2a58dba7..5bce39c4c4ad38f79fbcdfa38b2aecd932043464 100755
(executable)
--- a/
git-cvsexportcommit.perl
+++ b/
git-cvsexportcommit.perl
@@
-4,6
+4,7
@@
use Getopt::Std;
use File::Temp qw(tempdir);
use Data::Dumper;
+use File::Basename qw(basename);
unless ($ENV{GIT_DIR} && -r $ENV{GIT_DIR}){
die "GIT_DIR is not defined or is unreadable";
@@
-206,8
+207,7
@@
}
sub usage {
print STDERR <<END;
-Usage: GIT_DIR=/path/to/.gi ${\basename $0} # fetch/update GIT from CVS
- [-h] [-p] [ parent ] commit
+Usage: GIT_DIR=/path/to/.git ${\basename $0} [-h] [-p] [-v] [-c] [ parent ] commit
END
exit(1);
}