On Wed, Jan 21, 2009 at 8:52 PM, Yuval Kogman <[email protected]> wrote: > When you filter branch you don't need to commit, you get a new parallel > graph of revisions (the original is in refs/original). > The second attempt seems to have succeeded. The index filter method should > work too, I'm not sure why it didn't.
probably because update-index --remove works on files not directories. As far as I can see. The closest I came to making it work was: git filter-branch --index-filter "git update-index --remove $(echo b/*)" HEAD Note the double quotes now, and this only works if all the possible files that ever existed in directory "b" are present when you start this command, and if b does not itself have any sub-directories. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---
