Package: git
Version: 1:2.0~next.20140127-1
Severity: wishlist
Tags: upstream

Suppose I do:

        git checkout -b topic
        (
                cd my/favorite/submodule
                ... hack hack hack ...
                git commit
        )
        # in superproject
        git commit -a

        git checkout master
        git submodule update --init

        ... wait for reflog entry to expire and gc --auto to trigger ...

        git checkout topic
        git submodule update

Expected result:

I'm back on topic and get back to work.

Actual result:

 fatal: reference is not a tree: ac0dfa5c9cb03b273798585ec8d08069f41fbac0
 Unable to checkout 'ac0dfa5c9cb03b273798585ec8d08069f41fbac0' in submodule 
path 'my/favorite/submodule'

Fixing this might involve submodule repositories containing some
pointer to their parent projects and 'git fsck' being slowed down.
Or something more hackish involving temporary refs that 'checkout
--recurse-submodules' knows to set up and later clear could work.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to