Fix filehandle leak in "git branch -D"
authorAlex Riesen <raa.lkml@gmail.com>
Fri, 10 Aug 2007 13:06:22 +0000 (15:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 11 Aug 2007 05:50:06 +0000 (22:50 -0700)
commitcbbb218f8bd219d79907623a9304496ee69d8abd
treea523571799cdb59130a3d97108a29d4c81427ab0
parent21a02980f9025c3a338fb897796542ddef8707d1
Fix filehandle leak in "git branch -D"

On Windows (it can't touch open files in any way) the following fails:

    git branch -D branch1 branch2

if the both branches are in packed-refs.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c