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

Re: pseudo initial empty commit and tag for git-log and git-describe?

From
MKMatthias Kestenholz <lists@spinlock.ch>
Date
Sep 20, 2006, 14:10 UTC
Message-ID
<1158761400.6516.25.camel@localhost.localdomain>
In-Reply-To
<fcaeb9bf0609200658p3f04df7oe91ddb971787bd70@mail.gmail.com>
hello
On Wed, 2006-09-20 at 20:58 +0700, Nguyễn Thái Ngọc Duy wrote:
Show 7 quoted lines
> I'm still uncomfortable with git-log -p unable to show the first
> commit (git-whatchanged too). Also git-describe refuses to work
> without any tag. I'm thinking about adding a pseudo empty commit
> together with a tag so that these commands work. The commit and tag
> will be created at runtime. They do not actually exist in the object
> database. I haven't thought about how to implement it yet.
> Any other ideas?
you can use git log -p --root  to also display the root commit.
	Matthias
Previous: Nguyễn Thái Ngọc DuyNext: Nguyễn Thái Ngọc Duy
Message 2 of 4 in “pseudo initial empty commit and tag for git-log and git-describe?”
  1. Nguyễn Thái Ngọc DuySep 20, 2006
  2. Matthias KestenholzSep 20, 2006
  3. Nguyễn Thái Ngọc DuySep 21, 2006
  4. Linus TorvaldsSep 20, 2006

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.