mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-06-30 23:29:33 +00:00
Override branch_get_upstream to return a Gitg.Ref
This commit is contained in:
parent
881cb12a01
commit
fb293e8920
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ namespace Gitg
|
|||
|
||||
public interface Branch : Ggit.Branch, Ref
|
||||
{
|
||||
public abstract new Gitg.Ref get_upstream() throws Error;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user