~ubuntu-branches/ubuntu/wily/gitolite3/wily

« back to all changes in this revision

Viewing changes to src/commands/git-annex-shell

  • Committer: Package Import Robot
  • Author(s): David Bremner
  • Date: 2014-10-06 12:30:00 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20141006123000-pzkzr0u220sjmpg7
Tags: 3.6.1-1
New upstream release (Closes: #755784)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
my $start = $1;
28
28
my $repo  = $2;
29
29
my $end   = $3;
 
30
$repo =~ s/\.git$//;
30
31
die "I dont like some of the characters in $repo\n" unless $repo =~ $Gitolite::Rc::REPONAME_PATT;
31
32
die "I dont like absolute paths in $cmd\n" if $repo =~ /^\//;
32
33
die "I dont like '..' paths in $cmd\n"     if $repo =~ /\.\./;