Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/asp.in
diff options
context:
space:
mode:
Diffstat (limited to 'asp.in')
-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