Skip to content

Commit

Permalink
Update BaseRepo.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall authored Nov 19, 2024
1 parent 5b23377 commit 5b8007f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ES/BaseRepo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sub update_from_remote {
unless ( $self->_try_to_fetch ) {
my $url = $self->url;
printf(" - %20s: Cloning from <%s>\n", $name, $url);
run 'git', 'clone', '--bare', $self->_reference_args, $url, $git_dir;
run 'git', 'clone', '--bare', '--no-tags', '--depth=1', $self->_reference_args, $url, $git_dir;
}
1;
}
Expand Down

0 comments on commit 5b8007f

Please sign in to comment.