aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-list.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-15 13:08:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-15 15:25:45 +0200
commit9ffd711094b68d8ce5bb464621020ccc993d787c (patch)
tree5e4a5e3d52bd6f7978c0f3435bcee1ed9f24b565 /bpkg/rep-list.cxx
parent937aaf25741fb2ed5ae1bb7841c11702c5a51ded (diff)
Add --immediate|-i and --recursive|-r to pkg-status for dependencies
Diffstat (limited to 'bpkg/rep-list.cxx')
-rw-r--r--bpkg/rep-list.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/bpkg/rep-list.cxx b/bpkg/rep-list.cxx
index f2aca2c..3ee52a9 100644
--- a/bpkg/rep-list.cxx
+++ b/bpkg/rep-list.cxx
@@ -75,9 +75,7 @@ namespace bpkg
}
}
- indent.pop_back ();
- indent.pop_back ();
-
+ indent.resize (indent.size () - 2);
chain.erase (r);
}