From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Matthias Lederhofer <matled@gmx.net>
Cc: git@vger.kernel.org, gitster@pobox.com
Subject: Re: finding the right remote branch for a commit
Date: Mon, 16 Jul 2007 00:48:08 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707160036160.14781@racer.site> (raw)
In-Reply-To: <20070715223341.GA3797@moooo.ath.cx>
Hi,
you left enough hints to convince me that you will not fix the bugs.
So I will bite the bullet, and find some time this week to fix the issues.
Junio, I'd really appreciated if you considered waiting with 1.5.3 (maybe
do an -rc2?) before these bugs are squashed.
On Mon, 16 Jul 2007, Matthias Lederhofer wrote:
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > In practice, and I consider these all bugs, it does not work:
> >
> > - you have to say
> >
> > $ git --work-tree=$HOME --bare init
> >
> > which is a bit counterintuitive. After all, it is _not_ a bare
> > repository. The whole purpose of worktree, as far as I understand, is
> > to have a _detached_ repository, which would otherwise be called bare.
>
> Use
>
> $ git --work-tree "$HOME" --git-dir . init
>
> instead.
Why _should_ that be necessary at all? I _already_ told git that the
working tree is somewhere else. It makes _no sense at all_ to treat the
cwd as anything else than the GIT_DIR, when --work-tree but no --git-dir
were specified.
> IMHO the --bare flag did not make much sense before the introduction
> of GIT_WORK_TREE and doesn't after, at least not with the meaning it
> has: why should 'git --bare' mean to use the repository from cwd?
To the contrary, it makes tons of sense. If you want to initialise a bare
repository, what _more_ natural way than to say "git init --bare"? And
what _more_ natural place to pick for GIT_DIR than the cwd, when you did
not specify --git-dir?
> > [descriptions of bugs, that have been largely ignored]
>
> Up to now you are supposed to be in the working tree all the time when
> using it. Therefore I'd call these feature requests rather than bugs :)
Feature requests? WTF? What reason is there for the _requirement_ to
specify a working tree, when git does not make use of it? Hmm?
Ciao,
Dscho
next prev parent reply other threads:[~2007-07-15 23:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-10 14:49 finding the right remote branch for a commit martin f krafft
2007-07-11 21:26 ` Johannes Schindelin
2007-07-12 7:47 ` martin f krafft
2007-07-12 9:33 ` Jakub Narebski
2007-07-15 22:33 ` Matthias Lederhofer
2007-07-15 23:48 ` Johannes Schindelin [this message]
2007-07-16 9:14 ` Matthias Lederhofer
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=Pine.LNX.4.64.0707160036160.14781@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=matled@gmx.net \
/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).