diff options
author | Nicolas Pitre <nico@cam.org> | 2007-01-12 16:01:46 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-12 13:36:16 -0800 |
commit | 5c94f87e6b17cab5d3b87998d6c907745cb6f5a4 (patch) | |
tree | 814570782529656b1f5869525feadcc17996de9d /git-archimport.perl | |
parent | 120b0dfbed148461c4e1349d12a1b7913545260e (diff) | |
download | git-5c94f87e6b17cab5d3b87998d6c907745cb6f5a4.tar.gz git-5c94f87e6b17cab5d3b87998d6c907745cb6f5a4.tar.xz |
use 'init' instead of 'init-db' for shipped docs and tools
While 'init-db' still is and probably will always remain a valid git
command for obvious backward compatibility reasons, it would be a good
idea to move shipped tools and docs to using 'init' instead.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-archimport.perl')
-rwxr-xr-x | git-archimport.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-archimport.perl b/git-archimport.perl index ada60ec24..2e1578124 100755 --- a/git-archimport.perl +++ b/git-archimport.perl @@ -226,7 +226,7 @@ my $import = 0; unless (-d $git_dir) { # initial import if ($psets[0]{type} eq 'i' || $psets[0]{type} eq 't') { print "Starting import from $psets[0]{id}\n"; - `git-init-db`; + `git-init`; die $! if $?; $import = 1; } else { |