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.