]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
for_each_recent_reflog_ent(): simplify opening of a reflog file
authorJunio C Hamano <gitster@pobox.com>
Fri, 8 Mar 2013 18:45:25 +0000 (10:45 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Mar 2013 22:00:16 +0000 (14:00 -0800)
commit7ae07c1bd7bdab0bf0b36190c94e761cc593a890
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