Re: Bug?: 'git log --find-copies' doesn't match 'git log --follow <rev> -- path/to/file'
On Fri, Sep 30, 2011 at 05:32:38PM +0200, Alexander Pepper wrote:
Show 5 quoted lines
> So git log with copy and rename detection on (--find-copies) tells me,
> that the file StopClusterException.java is copied to
> ClusterOperation.java. But If I ask git log for that specific file
> with --follow git claims a copy from Immutable.java to
> ClusterOperation.java!
I think that --follow uses --find-copies-harder. Did you try:
git log --numstat --find-copies-harder dd4e90f9
? Does it find Immutable.java as the source?
-Peff