summaryrefslogtreecommitdiff
path: root/asp.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-08-17 23:39:43 -0400
committerDave Reisner <dreisner@archlinux.org>2014-08-18 12:09:54 -0400
commiteab3a16099e364f62303d5bbeca002ac14f697be (patch)
treee1e35257b89f9a04cf85d27f3430f809d3427b27 /asp.in
parente3c146afe29ff863679284c887c867fe93d58afd (diff)
downloadasp32-eab3a16099e364f62303d5bbeca002ac14f697be.tar.xz
cleanup local tracking branches when untracking
Also, make both package_untrack and remote_untrack robust against partially existing branches.
Diffstat (limited to 'asp.in')
-rw-r--r--asp.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/asp.in b/asp.in
index cb983a4..bbfd7e1 100644
--- a/asp.in
+++ b/asp.in
@@ -156,6 +156,7 @@ untrack() {
package_init -n "$pkgname" remote || return 1
remote_untrack "$remote" "$pkgname"
+ package_untrack "$pkgname" "$remote"
}
disk_usage() {