Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/remote.inc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'remote.inc.sh')
-rw-r--r--remote.inc.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/remote.inc.sh b/remote.inc.sh
index b125419..d2521bb 100644
--- a/remote.inc.sh
+++ b/remote.inc.sh
@@ -48,3 +48,9 @@ remote_get_url() {
git ls-remote --get-url "$remote"
}
+
+remote_untrack() {
+ local remote=$1 pkgname=$2
+
+ git branch -dr "$remote/packages/$pkgname"
+}