mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-09-13 21:21:17 +00:00
Reuse id variable
This commit is contained in:
parent
28c8348da1
commit
492aa7fcd3
|
@ -139,7 +139,7 @@ namespace GitgHistory
|
||||||
// See to resolve to the commit
|
// See to resolve to the commit
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var t = application.repository.lookup(head.get_id(), typeof(Ggit.Tag)) as Ggit.Tag;
|
var t = application.repository.lookup(id, typeof(Ggit.Tag)) as Ggit.Tag;
|
||||||
|
|
||||||
id = t.get_target_id();
|
id = t.get_target_id();
|
||||||
} catch {}
|
} catch {}
|
||||||
|
|
Loading…
Reference in a new issue