Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-11-21 19:15:15 -0500
committerDave Reisner <dreisner@archlinux.org>2014-11-21 19:15:15 -0500
commitac4cfde7e64f5d753de86ccf1f2a3e2a9f110471 (patch)
treef26ed47d4e5a224ef4d8e14640788fc31a70d0cd
parent1672f8c375624bee127f1c14c33517e4d774c93e (diff)
remove legacy repo migration code
-rw-r--r--asp.in15
1 files changed, 0 insertions, 15 deletions
diff --git a/asp.in b/asp.in
index b28b8fa..9c4a094 100644
--- a/asp.in
+++ b/asp.in
@@ -91,24 +91,9 @@ update_packages() {
update_remote_branches "$@" && update_local_branches
}
-migrate_bare_repo() {
- files=(branches hooks info objects logs refs config description
- {FETCH_,}HEAD)
-
- { # figure out when to get rid of this
- git config 'core.bare' 'false'
- mkdir .git
- mv "${files[@]}" .git
- } 2>/dev/null
-}
-
initialize() {
local remote
- if [[ -s config && $(git config core.bare) = 'true' ]]; then
- migrate_bare_repo
- fi
-
[[ -d $ASPCACHE ]] || mkdir -p "$ASPCACHE"
[[ -f .asp ]] && return 0