git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git Community Book

From
Christos Τrochalakis <yatiohi@ideopolis.gr>
Date
Sep 6, 2008, 18:26 UTC
Message-ID
<f7b87f7c0809061126y17f6b601iaeb9a3661c914391@mail.gmail.com>
In-Reply-To
<d411cc4a0809051208k2a15c4a7te09a6979929e52f7@mail.gmail.com>
On Fri, Sep 5, 2008 at 10:08 PM, Scott Chacon <schacon@gmail.com> wrote:
Show 6 quoted lines
> Hey all,
>
> I just wanted to let those of you who are interested know that I've
> been making a lot of progress on the Git Community Book
> (http://book.git-scm.com)
> ...
Hello Scott!

Nice book, I just started reading it and I have a recommendation to make, at "Chapter 4: Git Treeishes" you write

--------- http://book.git-scm.com/4_git_treeishes.html Range

Finally, you can specify a range of commits with the range spec. This will give you all the commits between 7b593b5 and 51bea1 (where 51bea1 is most recent), excluding 7b593b5 but including 51bea1:

7b593b5..51bea1
This will include every commit since 7b593b:

7b593b.. ---------

This in not quite correct. "commits between A and B" cannot really apply here. I believe that "commits reachable from B and not from A" is more precise. Actually you are already using the "reachability" explanation at the start of "Chapter 3: Basic usage".

This issue is also described at the rev-parse man page.
Apart from that, you could also include "a...b" syntax for completeness.
-christos
Previous: Stephan Beyer
Message 11 of 11 in “Git Community Book”
  1. Scott ChaconSep 5, 2008
  2. Thomas AdamSep 5, 2008
  3. Scott ChaconSep 5, 2008
  4. Junio C HamanoSep 5, 2008
  5. Scott ChaconSep 5, 2008
  6. Felipe ContrerasSep 5, 2008
  7. Shawn O. PearceSep 6, 2008
  8. Scott ChaconSep 6, 2008
  9. Linus TorvaldsSep 5, 2008
  10. Stephan BeyerSep 6, 2008
  11. Christos ΤrochalakisSep 6, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.