From: greened@obbligato•org
To: git@vger•kernel.org
Subject: Not a git repository: '.'
Date: Sat, 24 Mar 2012 12:26:09 -0500 [thread overview]
Message-ID: <87r4wh6hce.fsf@smith.obbligato.org> (raw)
I have a post-receive hook set up that does the following when something
is pushed to a repository.
- Change directory to another non-bare repository
- Do 'git status'
I get this error from the original git push:
remote: fatal: Not a git repository: '.'
Debug output tells me I am in the correct directory when attempting the
status check. This directory is a full git workarea (i.e. not a bare
repository).
Any idea what git is complaining about? I can log on to the server and
do 'git status' in the target directory and everything is fine.
-Dave
next reply other threads:[~2012-03-24 17:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-24 17:26 greened [this message]
2012-03-24 18:14 ` Not a git repository: '.' Johannes Sixt
2012-03-25 21:59 ` greened
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=87r4wh6hce.fsf@smith.obbligato.org \
--to=greened@obbligato$(echo .)org \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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