fetch-pack: Properly remove the shallow file when it becomes empty.
commitd6491e3a214541aeb016b0688d0920845b03932d
authorAlexandre Julliard <julliard@winehq.org>
Fri, 24 Nov 2006 14:58:04 +0000 (24 15:58 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 24 Nov 2006 23:42:49 +0000 (24 15:42 -0800)
treeda10e469a18b3b624c57b64d8d4316abc7046ba2
parent176d45cb20eb4ffc661d73383aec01943e056e10
fetch-pack: Properly remove the shallow file when it becomes empty.

The code was unlinking the lock file instead.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch-pack.c