diff options
Diffstat (limited to 'asp.in')
-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 |