More friendly message when locking the index fails.
commite43a6fd3e94888d76779ad79fb568ed180e5fcdf
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Thu, 19 Feb 2009 12:54:18 +0000 (19 13:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Feb 2009 07:22:57 +0000 (19 23:22 -0800)
tree10ebfaf701f9a4b8a0f9f72db9a33bda4c461653
parentb452cc16d85ea9de7d3f15c83a917b5534a91120
More friendly message when locking the index fails.

Just saying that index.lock exists doesn't tell the user _what_ to do
to fix the problem. We should give an indication that it's normally
safe to delete index.lock after making sure git isn't running here.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-update-index.c
cache.h
lockfile.c