summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 565cb99)
raw | patch | inline | side by side (parent: 565cb99)
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 |
index 50b041c3247238f7b399c0648cc7c3bc2a58dba7..5bce39c4c4ad38f79fbcdfa38b2aecd932043464 100755 (executable)
--- a/git-cvsexportcommit.perl
+++ b/git-cvsexportcommit.perl
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";
}
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);
}