home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] is there a revision symbol for the root commit?

  • Subject: Re: [OCLUG-Tech] is there a revision symbol for the root commit?
  • From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
  • Date: Wed, 28 Sep 2016 07:53:06 -0400 (EDT)
On Wed, 28 Sep 2016, Alex Pilon wrote:

> On Wed, Sep 28, 2016 at 04:52:59AM -0400, Robert P. J. Day wrote:
> >   embarrassed to admit i don't know this, but is there a revision
> > symbol for a repo's root commit? i don't think i've ever seen that
> > mentioned anywhere.
>
> gitrevisions(7) has nothing, but doesn't git support many roots? How
> would you differentiate? How would you even refer to roots not
> reachable from the current HEAD?

  obviously(?), i'd want the root reachable from the current (or some
given) commit. orphan branches are another issue.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================