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

Re: Recent issues

From
Johannes Sixt <j.sixt@eudaptics.com>
Date
Jul 9, 2007, 11:03 UTC
Message-ID
<4692160F.615EB6F2@eudaptics.com>
In-Reply-To
<18066.4639.682605.171418@cargo.ozlabs.ibm.com>
Paul Mackerras wrote:
Show 12 quoted lines
> 
> Johannes Sixt writes:
> 
> > In general, there is a big down-side, although I don't know if this
> > particular case is affected: --pretty=raw prints the parents noted in
> > the commit object, but not those from .git/info/grafts.
> 
> Are you referring to the parents listed on the "commit" line when you
> have the --parents flag, or the parents listed on "parent" lines in
> the commit?  Gitk uses the former, and I hope that does in fact
> reflect grafts.  It certainly reflects the "logical" topology when
> using path limiting.

It seems that git log --parents --pretty=raw prints the "logical" parent in the "commit" line, i.e. the grafted parent, but the real parent in the "parent" lines.

Since gitk uses the "commit" line, all is well. Please ignore my comment.

-- Hannes
Previous: Johannes Sixt
Message 4 of 4 in “Recent issues”
  1. Junio C HamanoJul 7, 2007
  2. Paul MackerrasJul 9, 2007
  3. Johannes SixtJul 9, 2007
  4. Johannes SixtJul 9, 2007

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.