for_each_recent_reflog_ent(): simplify opening of a reflog file
commit7ae07c1bd7bdab0bf0b36190c94e761cc593a890
authorJunio C Hamano <gitster@pobox.com>
Fri, 8 Mar 2013 18:45:25 +0000 (8 10:45 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Mar 2013 22:00:16 +0000 (8 14:00 -0800)
treeb7db659a2e72c3e0c652433ec8fb54779259628e
parent9a7a183bd216fc7f824460e1f6d27886938a6152
for_each_recent_reflog_ent(): simplify opening of a reflog file

There is no reason to use a temporary variable logfile.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c