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 13:33:33 -0800 [thread overview]
Message-ID: <7vps9kq6aa.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <200701122015.l0CKFB8j022355@laptop13.inf.utfsm.cl> (Horst H. von Brand's message of "Fri, 12 Jan 2007 17:15:11 -0300")
"Horst H. von Brand" <vonbrand@inf.utfsm.cl> writes:
> Junio C Hamano <junkio@cox.net> wrote:
> ...
>> This _is_ a regression, as we are checking something we did not
>> check before and refusing to work in cases where we did. But I
>> am not sure if reverting to lift the safety (for that matter,
>> introducing the third "depends" alternative) is better than the
>> latest behaviour.
>
> It grates me somewhat that there isn't a clean way of saying "My .git stuff
> is over there". No big deal, really.
>
> And it is not a "depends", AFAICS: GIT_DIR says where to stash stuff, users
> had better know what they are doing in that case... so perhaps allow
> anything if GIT_DIR is set?
One problem I have with that is that doing so would make it
harder to prevent pushing into the current branch of a
repository with working tree from happening later.
In the "sequence of tarballs" example, I wonder why you cannot
do something like:
git init-db
for tarball
do
tar xf $tarball
# if it extracts in a wrong directory, move them
# up first ...
git add .
git commit -a
git rm -r .
done
prev parent reply other threads:[~2007-01-12 21: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
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 [this message]
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=7vps9kq6aa.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