From: Yanick Champoux Date: Mon, 6 Oct 2008 23:33:18 +0000 (-0400) Subject: 'Cil init' was uncorrectly using 'git' instead of 'Git' X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2abfc51e5872d880bd8ba66ef3c35ec4fcb9fe4a;p=cil.git 'Cil init' was uncorrectly using 'git' instead of 'Git' --- diff --git a/issues/i_1bb8c18d.cil b/issues/i_1bb8c18d.cil new file mode 100644 index 0000000..5e9044a --- /dev/null +++ b/issues/i_1bb8c18d.cil @@ -0,0 +1,10 @@ +Summary: 'cil init' uses 'git' instead of 'Git' +Status: Fixed +CreatedBy: Yanick Champoux +AssignedTo: Yanick Champoux +Inserted: 2008-10-06T23:27:34 +Updated: 2008-10-06T23:32:32 + +When 'cil init' detects that Git is present, it +set the VCS to 'git' in the .cil file, while it +should be set to 'Git' instead. diff --git a/lib/CIL/Command/Init.pm b/lib/CIL/Command/Init.pm index 627a8fa..76ee893 100644 --- a/lib/CIL/Command/Init.pm +++ b/lib/CIL/Command/Init.pm @@ -62,7 +62,7 @@ sub run { my $VCSconfig = ''; if ( -d '.git' ) { CIL::Utils->msg( 'git repository detected, setting VCS accordingly' ); - $VCSconfig = 'VCS: git'; + $VCSconfig = 'VCS: Git'; my $vcs = CIL::VCS::Factory->new( 'Git' ); }