chiark
/
gitweb
/
~ianmdlvl
/
nailing-cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da6111b
)
nailing-cargo: Fix linkfarm_depth setting for --just-linkfarm
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 26 Oct 2020 12:32:06 +0000
(12:32 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 26 Oct 2020 12:32:06 +0000
(12:32 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
nailing-cargo
patch
|
blob
|
history
diff --git
a/nailing-cargo
b/nailing-cargo
index 829f95559987e61976b9c3d05caeb319f5b390cf..f42d326e30442041224e5c65c7a4b270d70b3414 100755
(executable)
--- a/
nailing-cargo
+++ b/
nailing-cargo
@@
-1022,7
+1022,7
@@
sub parse_args () {
$online = $1 eq 'on';
} elsif (m{^--just-linkfarm(?:=(shallow|git|full))?$}) {
$just_linkfarm = 1;
- $linkfarm_depth = 1 if $1;
+ $linkfarm_depth =
$
1 if $1;
$cargo_lock_update= 1; # will set $linkfarm_detph to 1 by default
} elsif (m{^--linkfarm(?:=(no|shallow|git|full))?$}) {
$linkfarm_depth = $1 || 'git';