mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +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
|
||||
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();
|
||||
} catch {}
|
||||
|
|
Loading…
Reference in a new issue