From: Junio C Hamano Date: Wed, 01 Feb 2006 20:01:36 GMT Subject: Re: [Announce] gitview-0.1 Message-ID: <7v3bj2df1b.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Aneesh Kumar 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.