Re: Blamming a diff between two commits?
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Feb 20, 2009, 20:04 UTC
- Message-ID
- <200902202104.37695.trast@student.ethz.ch>
- In-Reply-To
- <200902171509.21434.trast@student.ethz.ch>
Thomas Rast wrote:
> Samuel Lucas Vaz de Mello wrote: > > Is there any way to git blame (or annotate) a diff between two > > commits?
[...]
> Call it as './git-blame-diff.perl HEAD^ HEAD' or so.
Any reports from the field? Does it do what you wanted? Does it have other shortcomings than the ones I mentioned:
> This lacks proper argument checking and a chdir to the repository top > level. Maybe you could fill in the gaps and shape it as a contrib > patch? For bonus points, change it so that the workdir version can be > used as the new side of the diff, by omitting the second argument.
--
Thomas Rast
trast@{inf,student}.ethz.ch