mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
Fix also api breaks in history plugin
This commit is contained in:
parent
325c1306d9
commit
c0f2051a8c
|
@ -133,7 +133,7 @@ namespace GitgHistory
|
|||
string? icon = null;
|
||||
bool isdef = false;
|
||||
|
||||
if (head != null && item.get_name() == head.get_target())
|
||||
if (head != null && item.get_name() == head.get_name())
|
||||
{
|
||||
icon = "object-select-symbolic";
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@ namespace GitgHistory
|
|||
|
||||
if (head != null)
|
||||
{
|
||||
id = head.get_id();
|
||||
id = head.get_target();
|
||||
|
||||
if (head.parsed_name.rtype == Gitg.RefType.TAG)
|
||||
{
|
||||
|
@ -234,12 +234,12 @@ namespace GitgHistory
|
|||
|
||||
try
|
||||
{
|
||||
var t = application.repository.lookup(resolved.get_id(), typeof(Ggit.Tag)) as Ggit.Tag;
|
||||
var t = application.repository.lookup(resolved.get_target(), typeof(Ggit.Tag)) as Ggit.Tag;
|
||||
included += t.get_target_id();
|
||||
}
|
||||
catch
|
||||
{
|
||||
included += resolved.get_id();
|
||||
included += resolved.get_target();
|
||||
}
|
||||
} catch {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue