git >= 1.6.6 is required since 49f5361

This commit is contained in:
Michael Gehring 2011-08-25 15:35:29 +02:00
parent d76c83f948
commit d4570cc340
2 changed files with 5 additions and 5 deletions

View file

@ -377,7 +377,7 @@ for my $fragment_file (glob("conf/fragments/*.conf"))
# what's the git version?
# ----------------------------------------------------------------------------
# we don't like stuff older than 1.6.2
# we don't like stuff older than 1.6.6
my $git_version = `git --version`;
die "
@ -391,10 +391,10 @@ die "$ABRT I can't understand $git_version\n" unless ($gv_maj >= 1);
$git_version = $gv_maj*10000 + $gv_min*100 + $gv_patchrel; # now it's "normalised"
die "\n\t\t***** AAARGH! *****\n" .
"\tyour git version is older than 1.6.2\n" .
"\tyour git version is older than 1.6.6\n" .
"\tsince that is now more than one year old, and gitolite needs some of\n" .
"\tthe newer features, please upgrade.\n"
if $git_version < 10602; # that's 1.6.2 to you
if $git_version < 10606; # that's 1.6.6 to you
# ----------------------------------------------------------------------------
# most of the rest of this program can be "switched off"; see