From: Jonas Berlin <xkr47@outerspace.dyndns.org>
To: git@vger.kernel.org
Subject: BUG: Wrong error message when access to .git directory denied
Date: Fri, 29 May 2015 10:47:43 +0300 [thread overview]
Message-ID: <20150529104743.6220a11f@outerspace.dyndns.org> (raw)
Hi,
Severity: Low
Impact: Confusion
Git version: 1.9.1
If I don't have permissions to access the .git folder of a non-bare git repository, I get the following output:
fatal: Not a git repository (or any of the parent directories): .git
Expected output:
fatal: Permission denied while accessing .git directory
Steps to reproduce:
mkdir foo
cd foo
git init
chmod 000 .git
git log
- xkr47
next reply other threads:[~2015-05-29 7:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-29 7:47 Jonas Berlin [this message]
2015-05-29 15:29 ` BUG: Wrong error message when access to .git directory denied Junio C Hamano
2015-05-29 16:45 ` Stefan Beller
2015-05-29 17:06 ` Junio C Hamano
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=20150529104743.6220a11f@outerspace.dyndns.org \
--to=xkr47@outerspace.dyndns.org \
--cc=git@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).