• Orgad Shaneh's avatar
    Git: Prevent another crash on checkout · 3eacb444
    Orgad Shaneh authored
    Crash happens if the repository has a submodule with local
    changes that requires updating (commit changed between current
    branch and new branch)
    Since we already refresh for every repo change, just add "expect"
    for checkout and remove the code accessing the deleted index.
    Change-Id: Ic464129a2f001e017244fdf719b282dcbd9dffa4
    Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>