git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nguyen Thai Ngoc Duy" <pclouds@gmail.com>
To: git <git@vger.kernel.org>
Subject: git's is_inside_git_dir too strict?
Date: Tue, 6 Mar 2007 22:41:14 +0700	[thread overview]
Message-ID: <fcaeb9bf0703060741l7cbfd0f3ue443730176606db6@mail.gmail.com> (raw)

Hi,

I have a working directory separated from its git repository. When I
work on this directory, I specify --git-dir argument (actually all
happens in script so I don't have to type that much). It used to work
but no longer since git 1.5.0. Complaints include "cannot be used
without a working tree" and "This operation must be run in a work
tree". Can I have the former behaviour back in some ways?
-- 
Duy

             reply	other threads:[~2007-03-06 15:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-06 15:41 Nguyen Thai Ngoc Duy [this message]
2007-03-06 21:46 ` git's is_inside_git_dir too strict? Johannes Schindelin
2007-03-07 12:17   ` Nguyen Thai Ngoc Duy
2007-03-07 15:53     ` Shawn O. Pearce
2007-03-07 16:12       ` Nguyen Thai Ngoc Duy
2007-03-09 12:00     ` Matthias Lederhofer
2007-03-10  1:11       ` Junio C Hamano
2007-03-10 11:49       ` Nguyen Thai Ngoc Duy

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=fcaeb9bf0703060741l7cbfd0f3ue443730176606db6@mail.gmail.com \
    --to=pclouds@gmail.com \
    --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).