{"thread":{"id":"32868","subject":"[BUG] can't switch branches with submodules","startedAt":"2013-02-09T12:25:26Z","lastAt":"2013-02-09T12:32:06Z","messageCount":2,"participants":["Ramkumar Ramachandra","W. Trevor King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"209080","messageId":"CALkWK0=aifKVHnPZSfqE0rLn1aUGqC0nBULaLCe6UY2=6YGZ9g@mail.gmail.com","threadId":"32868","inReplyTo":null,"subject":"[BUG] can't switch branches with submodules","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2013-02-09T12:25:26Z","receivedAt":"2013-02-09T12:25:26Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Hi,\n\nI have two branches: master and gh-pages.  master has one submodule\ncalled foo that gh-pages doesn't.  When I try to check out gh-pages\nfrom master:\n\n    warning: unable to rmdir foo: Directory not empty\n\nAnd the foo directory exists in my worktree.  This is very annoying,\nand I want to fix it now.  Where is this error coming from?  How does\nthe worktree get updated when I checkout?\n"},{"id":"209081","messageId":"20130209123205.GC1795@odin.tremily.us","threadId":"32868","inReplyTo":"CALkWK0=aifKVHnPZSfqE0rLn1aUGqC0nBULaLCe6UY2=6YGZ9g@mail.gmail.com","subject":"[BUG] can't switch branches with submodules","fromName":"W. Trevor King","fromEmail":"wking@tremily.us","sentAt":"2013-02-09T12:32:06Z","receivedAt":"2013-02-09T12:32:06Z","isPatch":false,"sender":{"key":"wking@tremily.us","avatar":"https://avatars.githubusercontent.com/u/209920?v=4"},"body":"On Sat, Feb 09, 2013 at 05:55:26PM +0530, Ramkumar Ramachandra wrote:\n> I have two branches: master and gh-pages.  master has one submodule\n> called foo that gh-pages doesn't.  When I try to check out gh-pages\n> from master:\n> \n>     warning: unable to rmdir foo: Directory not empty\n> \n> And the foo directory exists in my worktree.  This is very annoying,\n> and I want to fix it now.  Where is this error coming from?  How does\n> the worktree get updated when I checkout?\n\nYou may want to look at the pending Great Submodule Integration\nBranch:\n\nOn Mon, Jan 07, 2013 at 07:59:53AM +0100, Jens Lehmann wrote:\n> I´m currently working on teaching mv to move submodules and intend\n> to send those patches to the list after finishing submodule deinit.\n> Please see\n>   https://github.com/jlehmann/git-submod-enhancements/commits/mv-submodules\n> for the current state of this series.\n\n;)\nTrevor\n\n-- \nThis email may be signed or encrypted with GnuPG (http://www.gnupg.org).\nFor more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\n"}]}