Formats/LibGit2Sharp.Patch.formats.ps1xml

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
    <ViewDefinitions>
        <View>
            <Name>Patch</Name>
            <ViewSelectedBy>
                <TypeName>LibGit2Sharp.Patch</TypeName>
                <TypeName>LibGit2Sharp.PatchEntryChanges</TypeName>
            </ViewSelectedBy>
            <CustomControl>
                <CustomEntries>
                    <CustomEntry>
                        <CustomItem>
                            <ExpressionBinding>
                                <ScriptBlock>$_ | ConvertTo-ColoredPatch</ScriptBlock>
                            </ExpressionBinding>
                        </CustomItem>
                    </CustomEntry>
                </CustomEntries>
            </CustomControl>
        </View>
    </ViewDefinitions>
</Configuration>