From: "Shawn O. Pearce" <spearce@spearce.org>
To: Jakub Narebski <jnareb@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Merge git-gui into 1.5.0 ?
Date: Mon, 12 Feb 2007 19:38:15 -0500 [thread overview]
Message-ID: <20070213003815.GA31377@spearce.org> (raw)
In-Reply-To: <eqr0v4$rqd$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> wrote:
> > On Mon, 12 Feb 2007, Shawn O. Pearce wrote:
> >> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> >>> On Mon, 12 Feb 2007, Junio C Hamano wrote:
> >>>> $ git read-tree --prefix=git-gui/ git-gui/master
> >>>> $ git checkout git-gui
> >>>
> >>> Didn't you mean "git checkout master" here?
> >>
> >> I don't think so. At this point the subdirectory git-gui is known
> >> in the index, so Junio is trying to get checkout-index to process
> >> those paths and create it in the working directory.
>
> So it is "git checkout -- git-gui" then?
Yes. But this trick only works once. After that you cannot use
`read-tree --prefix` to load the index with the git-gui/master
branch, as there already is stuff under git-gui. Instead you need
to whack the directory's files from the index, then reload it.
Or abuse mktree, as I did in the script I posted.
--
Shawn.
prev parent reply other threads:[~2007-02-13 0:38 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-11 8:40 Merge git-gui into 1.5.0 ? Shawn O. Pearce
2007-02-11 14:57 ` Mark Levedahl
2007-02-11 22:49 ` Shawn O. Pearce
2007-02-11 16:39 ` Johannes Schindelin
2007-02-11 22:27 ` Junio C Hamano
2007-02-11 22:41 ` Shawn O. Pearce
2007-02-11 22:53 ` Johannes Schindelin
2007-02-11 23:02 ` Shawn O. Pearce
2007-02-11 23:25 ` Johannes Schindelin
2007-02-12 5:40 ` Michael S. Tsirkin
2007-02-12 5:48 ` Junio C Hamano
2007-02-12 5:59 ` Michael S. Tsirkin
2007-02-12 6:25 ` Michael S. Tsirkin
2007-02-12 11:51 ` add negative -p to git-am, " Johannes Schindelin
2007-02-12 11:59 ` Michael S. Tsirkin
2007-02-12 12:06 ` Johannes Schindelin
2007-02-12 12:26 ` Michael S. Tsirkin
2007-02-12 21:55 ` Junio C Hamano
2007-02-12 23:34 ` Shawn O. Pearce
2007-02-12 23:38 ` Johannes Schindelin
2007-02-12 23:42 ` Shawn O. Pearce
2007-02-12 23:53 ` Johannes Schindelin
2007-02-13 0:34 ` Jakub Narebski
2007-02-13 0:38 ` Shawn O. Pearce [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=20070213003815.GA31377@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.