From: Dave Jones <davej@redhat.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: git@vger.kernel.org
Subject: Re: git-rev-tree
Date: Mon, 7 Nov 2005 21:57:55 -0500 [thread overview]
Message-ID: <20051108025755.GA22243@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0511071819510.3247@g5.osdl.org>
On Mon, Nov 07, 2005 at 06:33:30PM -0800, Linus Torvalds wrote:
> export KERNEL=master.kernel.org:/pub/scm/linux/kernel/git/
> git fetch $KERNEL/torvalds/linux-2.6 master:linus
>
> which will just fetch my "master" branch into the local "linus" branch.
>
> - then just do
>
> git log linus..HEAD
>
> and you'll see exactly what you wanted: what exists in your HEAD but
> not in mine.
>
> No complex script required.
Ok, I must be doing something totally bone-headed. Because this is what
I tried to do before I headed down the path of making that script work.
Doing the above yields ...
(18:47:37:davej@hera:agp2)$ export KERNEL=master.kernel.org:/pub/scm/linux/kernel/git/
(18:47:43:davej@hera:agp2)$ git fetch $KERNEL/torvalds/linux-2.6 master:linus
davej@master.kernel.org's password:
Packing 35335 objects
Unpacking 35335 objects
100% (35335/35335) done
* committish: d27ba47e7e8c466c18983a1779d611f82d6a354f
branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git//torvalds/linux-2.6
* refs/heads/linus: storing branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git//torvalds/linux-2.6
which looks ok, but then when I do the git log linus..HEAD, I get no output at all.
Whatever I'm doing wrong, I'm doing it consistently, as this happens
in all my trees both locally, and on k.o
*click*, ahh wait, I didn't have a 'linus' branch before I did that fetch.
For the above to work, do I need there to be a 'linus' branch before
I start making changes ? Or am I barking up the wrong tree ?
Dave
next prev parent reply other threads:[~2005-11-08 2:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-08 2:12 git-rev-tree Dave Jones
2005-11-08 2:33 ` git-rev-tree Linus Torvalds
2005-11-08 2:57 ` Dave Jones [this message]
2005-11-08 3:35 ` git-rev-tree Linus Torvalds
2005-11-08 3:43 ` git-rev-tree Dave Jones
2005-11-08 4:55 ` git-rev-tree 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=20051108025755.GA22243@redhat.com \
--to=davej@redhat.com \
--cc=git@vger.kernel.org \
--cc=torvalds@osdl.org \
/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.