diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-04-28 13:26:14 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 11:54:07 +0100 |
commit | cf3ebba7e7b87357a7b79f49f873cb869ddb63bd (patch) | |
tree | 0d0865c25b686d6902da8ad7a87917a028473883 | |
parent | 8a2c3aa997480f715f703b01be7568038eb82fd8 (diff) |
Fix undef warning in Vcs-Git handling
-rwxr-xr-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1503,8 +1503,8 @@ sub clone ($) { } fetch_from_archive() or no_such_package; my $vcsgiturl = $dsc->{'Vcs-Git'}; - $vcsgiturl =~ s/\s+-b\s+\S+//g; if (length $vcsgiturl) { + $vcsgiturl =~ s/\s+-b\s+\S+//g; runcmd @git, qw(remote add vcs-git), $vcsgiturl; } runcmd @git, qw(reset --hard), lrref(); |