From ac4cfde7e64f5d753de86ccf1f2a3e2a9f110471 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Fri, 21 Nov 2014 19:15:15 -0500 Subject: remove legacy repo migration code --- asp.in | 15 --------------- 1 file changed, 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 -- cgit v1.2.3-70-g09d2