From: Junio C Hamano <junkio@cox.net>
To: "Horst H. von Brand" <vonbrand@inf.utfsm.cl>
Cc: git@vger.kernel.org
Subject: Re: 1.5.0.rc1.g4494: Can't use a bare GIT_DIR to add
Date: Fri, 12 Jan 2007 09:33:20 -0800 [thread overview]
Message-ID: <7v7ivsup3z.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <200701121545.l0CFjMC1017088@laptop13.inf.utfsm.cl> (Horst H. von Brand's message of "Fri, 12 Jan 2007 12:45:22 -0300")
"Horst H. von Brand" <vonbrand@inf.utfsm.cl> writes:
> I tried this:
>
> mkdir xyz
> cd xyz
> git --git-dir=../xyz.git
> # Initialized empty Git repository in ../xyz.git/
> echo Junk > file-a
> git --git-dir=../xyz.git add .
> # fatal: add cannot be used in a bare git directory
>
> I expected that "GIT_DIR is bare, over there, stuff is here" works the same
> as "GIT_DIR is .git, right here among stuff".
> --
> Dr. Horst H. von Brand User #22616 counter.li.org
> Departamento de Informatica Fono: +56 32 2654431
> Universidad Tecnica Federico Santa Maria +56 32 2654239
> Casilla 110-V, Valparaiso, Chile Fax: +56 32 2797513
next prev parent reply other threads:[~2007-01-12 17:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-12 15:45 1.5.0.rc1.g4494: Can't use a bare GIT_DIR to add Horst H. von Brand
2007-01-12 17:33 ` Junio C Hamano [this message]
2007-01-12 17:56 ` Junio C Hamano
2007-01-12 20:15 ` Horst H. von Brand
2007-01-12 21:33 ` 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=7v7ivsup3z.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=vonbrand@inf.utfsm.cl \
/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