[git-users] git diff when file has been renamed

2013-02-14 Thread Matt Neuburg
My files have all been renamed, so to diff one of them to an earlier commit I'm saying this sort of thing: git diff HEAD:newname cb3e0a5fa8:oldname I have to keep a list of the new names and old names beside me at all times. This seems nuts. Is there a better way? Clearly git can tell from

Re: [git-users] git diff when file has been renamed

2013-02-15 Thread Matt Neuburg
On Feb 15, 2013, at 7:48 AM, Bob Hiestand wrote: > > On Thu, Feb 14, 2013 at 8:02 PM, Matt Neuburg wrote: > My files have all been renamed, so to diff one of them to an earlier commit > I'm saying this sort of thing: > > git diff HEAD:newname cb3e0a5fa8:oldnam

Re: [git-users] git diff when file has been renamed

2013-02-15 Thread Matt Neuburg
On Feb 15, 2013, at 9:24 AM, Bob Hiestand wrote: > your post didn't restrict the use to only filtering by path It did; it showed an example of what I'm having to do, where I'm explicitly comparing HEAD:newfile with oldCommit:oldfile. That is what I need to do: compare a particular file with i

Re: [git-users] git diff when file has been renamed

2013-02-15 Thread Matt Neuburg
On Feb 15, 2013, at 1:57 PM, Thomas Ferris Nicolaisen wrote: > If you want to single down to the diff on a single file, there is no first > class way to do this in Git. You could do a feature request to the Git > developer list, and argue that it belongs in git diff. I agree that it would > be