Make the 'lock file' exists error more informative
authorJohn Tapsell <johnflux@gmail.com>
Wed, 4 Mar 2009 15:00:44 +0000 (15:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2009 04:35:19 +0000 (20:35 -0800)
commitbdfd739dac4c109ce360d38d0572d8717a46e795
tree9c37767edd8fb48fc313acd8b8daab336728da43
parentf243319c21968c10d37cbb0c7f02127ac5d67d7f
Make the 'lock file' exists error more informative

It looks like someone did 90% of the work, then forgot to actually use
the function in one place.

Also the helper function did not use the correct variable.

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