From: Fredrik Kuivinen <freku045@student.liu.se>
To: git@vger.kernel.org
Cc: junkio@cox.net
Subject: [PATCH] Better error message when we are unable to lock the index file
Date: Sat, 12 Aug 2006 09:37:56 +0200 [thread overview]
Message-ID: <20060812073756.5442.5498.stgit@c165> (raw)
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
---
builtin-update-index.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-update-index.c b/builtin-update-index.c
index 24dca47..f8f5e10 100644
--- a/builtin-update-index.c
+++ b/builtin-update-index.c
@@ -493,7 +493,7 @@ int cmd_update_index(int argc, const cha
newfd = hold_lock_file_for_update(lock_file, get_index_file());
if (newfd < 0)
- die("unable to create new cachefile");
+ die("unable to lock index file: %s", strerror(errno));
entries = read_cache();
if (entries < 0)
next reply other threads:[~2006-08-12 7:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-12 7:37 Fredrik Kuivinen [this message]
2006-08-12 8:03 ` [PATCH] Better error message when we are unable to lock the index file Junio C Hamano
2006-08-12 8:09 ` Junio C Hamano
2006-08-12 17:16 ` Shawn Pearce
2006-08-12 19:19 ` Fredrik Kuivinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060812073756.5442.5498.stgit@c165 \
--to=freku045@student.liu.se \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.