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

Re: [Announce] gitview-0.1

From
Junio C Hamano <junkio@cox.net>
Date
Feb 1, 2006, 20:01 UTC
Message-ID
<7v3bj2df1b.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<cc723f590602010328w7b4a7befr40a76620e197d00c@mail.gmail.com>
Aneesh Kumar <aneesh.kumar@gmail.com> writes:
> for parent_id in  parent_sha1 parent_sha2 parent_sha3 .......
> commit_diff = commit_diff + git diff tree -p parent_id commit_sha1
>
> is this the correct way ?

Are parent_sha$N true parents of commit_sha1? If you want to get three independent diffs, "git diff-tree -m -p $commit_sha1" would give that to you in one go.

Previous: Aneesh KumarNext: Linus Torvalds
Message 5 of 9 in “[Announce] gitview-0.1”
  1. Aneesh KumarFeb 1, 2006
  2. Dave JonesFeb 1, 2006
  3. Aneesh KumarFeb 1, 2006
  4. Aneesh KumarFeb 1, 2006
  5. Junio C HamanoFeb 1, 2006
  6. Linus TorvaldsFeb 1, 2006
  7. Junio C HamanoFeb 1, 2006
  8. Alex RiesenFeb 1, 2006
  9. Fernando J. PeredaFeb 1, 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.