From: Jakub Narebski <jnareb@gmail.com>
To: git@vger.kernel.org
Subject: Re: How to say HEAD~"all the way back - 1"
Date: Fri, 23 Feb 2007 18:52:22 +0100 [thread overview]
Message-ID: <ern9gn$h4d$1@sea.gmane.org> (raw)
In-Reply-To: 20070222193625.GA4489@pasky.or.cz
Petr Baudis wrote:
> On Thu, Feb 22, 2007 at 08:17:17PM CET, Bill Lear wrote:
>> Git "indexing" of commits has a way to "go back":
>>
>> % git diff HEAD~3
>>
>> Can I say "all the way back", or "all the way back - 1" somehow?
>
> What would that mean? :)
>
> Do you mean to the "root" of the history? The trouble is, there can be
> many of such roots (coming up from merges of previously disjunct
> histories); even the git project itself has several. Which one to
> choose?
Actually HEAD~n follows first parent, so it would be only one such root.
The git project has 4 or 5 roots for mainline + 3 separate disjoint
branches with separate roots (html, man, todo).
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
next prev parent reply other threads:[~2007-02-23 17:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-22 19:17 How to say HEAD~"all the way back - 1" Bill Lear
2007-02-22 19:36 ` Petr Baudis
2007-02-23 17:52 ` Jakub Narebski [this message]
2007-02-23 17:56 ` Bill Lear
2007-02-24 9:30 ` Junio C Hamano
2007-02-22 20:12 ` Junio C Hamano
2007-02-22 20:24 ` Bill Lear
2007-02-22 20:59 ` Junio C Hamano
2007-02-22 20:47 ` J. Bruce Fields
2007-02-22 20:53 ` Johannes Schindelin
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='ern9gn$h4d$1@sea.gmane.org' \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.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.