I have a Git repository representing a source repository pulled in from git-tfs.
TFS has the convention of storing branches as full copies in folders. I'd like to run through the history of the git copy from TFS, treating commits against specific folders instead as commits against specific branches.
For instance, the repository looks something like
Main (TFS concept of trunk / master / default)
Branch1
Branch2
Branch3
Folder/Branch4
To make this a little more complicated, some of these branches were renamed at some point in time.
So Branch1 could have at one point been B1.
I'll have to accommodate this scenario as well.
And of course, there were merges from one branch to another.
I'm not sure if this can even be done, but I'm interested to see if anyone has any suggestions. I've looked at git-filter-branch, but I'm not sure the end result would be what I'm looking for exactly. So while I could keep experimenting until I get something kinda-sorta right, I figured I'd ask if anyone has done this before ;0