git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Caleb Cushing <xenoterracide@gmail.com>
To: Julian Phillips <julian@quantumfyre.co.uk>
Cc: git@vger.kernel.org
Subject: Re: git-new-workdir not working right?
Date: Wed, 15 Apr 2009 06:31:04 -0400	[thread overview]
Message-ID: <81bfc67a0904150331t6787fcfbjd391013a8235ece0@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.00.0904141540410.29027@reaper.quantumfyre.co.uk>

On Tue, Apr 14, 2009 at 10:47 AM, Julian Phillips
<julian@quantumfyre.co.uk> wrote:
> Works fine for me.  Are you sure you didn't have a typo in your original
> git-new-workdir invocation?  If so, could you supply:
>
>  1) the complete output of running git-new-workdir
>  2) the output of "git rev-parse --git-dir" run in path/to/repo/.git
>
> Also, you shouldn't need to supply the .git, so "git new-workdir
> path/to/repo newworkdirname" should also work, have you tried that?
>

git-new-workdir portage/ test
/home/port/portdev/.bin/git-new-workdir: line 58: cd:
/home/port/portdev/tree/portage
.git: No such file or directory
/home/port/portdev/tree/test
cp: cannot stat `/home/port/portdev/tree/HEAD': No such file or directory
fatal: Not a git repository (or any of the parent directories): .git

git-new-workdir portage/.git/ test
/home/port/portdev/.bin/git-new-workdir: line 58: cd:
/home/port/portdev/tree/portage/.git
.: No such file or directory
/home/port/portdev/tree/test
cp: cannot stat `/home/port/portdev/tree/HEAD': No such file or directory
fatal: Not a git repository (or any of the parent directories): .git

git rev-parse --git-dir portage/
fatal: Not a git repository (or any of the parent directories): .git

cd portage/
/home/port/portdev/tree/portage
slave-iv portage $ git rev-parse --git-dir .
.git
.

git-new-workdir . ../test/ << seems to work too.


-- 
Caleb Cushing

http://xenoterracide.blogspot.com

  reply	other threads:[~2009-04-15 10:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-14  4:09 git-new-workdir not working right? Caleb Cushing
2009-04-14 14:47 ` Julian Phillips
2009-04-15 10:31   ` Caleb Cushing [this message]
2009-04-15 12:22     ` Julian Phillips

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=81bfc67a0904150331t6787fcfbjd391013a8235ece0@mail.gmail.com \
    --to=xenoterracide@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=julian@quantumfyre.co.uk \
    /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).