Code

git branch -D: give a better error message when lockfile creation fails
authorMiklos Vajna <vmiklos@frugalware.org>
Sat, 26 Sep 2009 23:15:09 +0000 (01:15 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 29 Sep 2009 15:14:47 +0000 (08:14 -0700)
commit1b018fd9be290fd6a70ce3093ab1dc1abce74e00
tree4961e8dec3da9cd76e3d79b57c24c3cdf97d2c35
parent6bbfd1fa98b0c1fa1684bd35e64404799f0cc2b3
git branch -D: give a better error message when lockfile creation fails

Previously the old error message just told the user that it was not
possible to delete the ref from the packed-refs file. Give instructions
on how to resolve the problem.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
cache.h
lockfile.c
refs.c