]> git.mjollnir.org Git - cil.git/commitdiff
'Cil init' was uncorrectly using 'git' instead of 'Git'
authorYanick Champoux <yanick@babyl.dyndns.org>
Mon, 6 Oct 2008 23:33:18 +0000 (19:33 -0400)
committerAndrew Chilton <andychilton@gmail.com>
Tue, 7 Oct 2008 02:16:26 +0000 (15:16 +1300)
issues/i_1bb8c18d.cil [new file with mode: 0644]
lib/CIL/Command/Init.pm

diff --git a/issues/i_1bb8c18d.cil b/issues/i_1bb8c18d.cil
new file mode 100644 (file)
index 0000000..5e9044a
--- /dev/null
@@ -0,0 +1,10 @@
+Summary: 'cil init' uses 'git' instead of 'Git'
+Status: Fixed
+CreatedBy: Yanick Champoux <yanick@babyl.dyndns.org>
+AssignedTo: Yanick Champoux <yanick@babyl.dyndns.org>
+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.
index 627a8fac1675188d3338c3e8c50f443799b29875..76ee893bf73f36a7d0ae97dff274700758a0a2b7 100644 (file)
@@ -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' );
     }