git-tfs/git-tfs — pull request #302 by pmiossec (2013-02-03 23:19:37+00:00)
Title: Manage Add ChangeType to correct fail when `init-branch` call

@davidalpert all my branches are of the type "Add | Encoding" so I did this patch to correct it.
But don't you think it will be better to replace the switch by if()?
if (merge.SourceItem.ChangeType.HasFlag(ChangeType.Branch)
|| merge.SourceItem.ChangeType.HasFlag(ChangeType.Merge)
|| merge.SourceItem.ChangeType.HasFlag(ChangeType.Add))
{
//do...
}