diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-11-21 19:15:15 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-11-21 19:15:15 -0500 |
commit | ac4cfde7e64f5d753de86ccf1f2a3e2a9f110471 (patch) | |
tree | f26ed47d4e5a224ef4d8e14640788fc31a70d0cd | |
parent | 1672f8c375624bee127f1c14c33517e4d774c93e (diff) | |
download | asp32-ac4cfde7e64f5d753de86ccf1f2a3e2a9f110471.tar.xz |
remove legacy repo migration code
-rw-r--r-- | asp.in | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -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 |