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