chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a2c3aa
)
Fix undef warning in Vcs-Git handling
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 28 Apr 2015 12:26:14 +0000
(13:26 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 31 May 2015 10:54:07 +0000
(11:54 +0100)
dgit
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index 3a79bb60b1a5bd7b884bbc91330908efa36a9a43..68d8b42d1da15ee921157f67f70aa7b793308f6a 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-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();