Override branch_get_upstream to return a Gitg.Ref

This commit is contained in:
Jesse van den Kieboom 2015-08-22 13:54:51 +02:00
parent 881cb12a01
commit fb293e8920
2 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,11 @@ public class BranchBase : Ggit.Branch, Ref, Branch
{
return (Gitg.Repository)base.get_owner();
}
public new Gitg.Ref get_upstream() throws Error
{
return (Gitg.Ref)base.get_upstream();
}
}
}

View File

@ -21,6 +21,7 @@ namespace Gitg
public interface Branch : Ggit.Branch, Ref
{
public abstract new Gitg.Ref get_upstream() throws Error;
}
}