Reuse id variable

This commit is contained in:
Jesse van den Kieboom 2012-07-17 15:16:37 +02:00
parent 28c8348da1
commit 492aa7fcd3

View file

@ -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 {}