{"thread":{"id":"37397","subject":"strange histories from filter-branch","startedAt":"2014-08-22T12:41:19Z","lastAt":"2014-08-22T12:41:19Z","messageCount":1,"participants":["Bernard Clark"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"248108","messageId":"CACpvNxTTN7G09L0WPvs4eq9v9U9duoy-bz0b1Smj4A=hwwYhtg@mail.gmail.com","threadId":"37397","inReplyTo":null,"subject":"strange histories from filter-branch","fromName":"Bernard Clark","fromEmail":"bernieclark4@gmail.com","sentAt":"2014-08-22T12:41:19Z","receivedAt":"2014-08-22T12:41:19Z","isPatch":false,"sender":{"key":"bernieclark4@gmail.com","avatar":null},"body":"I tried sending this mail to the \"git for humans\" mailing list but got\nno response, so I'll try here.\n\nI've been running the git filter-branch described on this page:\n\nhttp://stackoverflow.com/questions/14759345/how-to-split-a-git-repository-and-follow-directory-renames.\n\nBut the resulting history includes at least two extraneous commits,\ni.e., commits that appear to affect no files in the subdirectory of\ninterest. (The corresponding commits in the original history do affect\nfiles, but those files are in another subdirectory.)\n\nI also noticed several \"duplicate parent\" errors during the git\nfilter-branch. The page\nhttp://stackoverflow.com/questions/15161809/git-duplicate-parent-causes-half-the-history-to-to-disappear\nsays that those errors can produce an incomplete new history, so I'm\nnow wondering if, in addition to including extraneous commits, my new\nhistory might also be missing some. Both that page and\nhttp://stackoverflow.com/questions/7489713/git-duplicate-parent/7501703#7501703\nsay that the \"duplicate parent\" errors should disappear if \"git\nfilter-branch\" is first run with no filter. But that didn't work for\nme.\n\nAny ideas?\n"}]}