Re: [git-users] Looking for a change to a file

2015-09-14 Thread Philip Oakley
From: "Michael" I've got a file, with a diff/change, that I thought had already been checked into a previous commit. I want to see if this change exists in any checkin of that file. Is there any way to ask for "all the checked-in versions of file X"? As far as I know,

Re: [git-users] Looking for a change to a file

2015-09-13 Thread Charles Manning
When you're trying to find why a specific change was made, then git blame is also your friend. On Mon, Sep 14, 2015 at 7:16 AM, Paul Smith wrote: > On Sun, 2015-09-13 at 11:32 -0700, Michael wrote: > > I've got a file, with a diff/change, that I thought had already been

Re: [git-users] Looking for a change to a file

2015-09-13 Thread Paul Smith
On Sun, 2015-09-13 at 11:32 -0700, Michael wrote: > I've got a file, with a diff/change, that I thought had already been > checked into a previous commit. I want to see if this change exists in > any checkin of that file. > > Is there any way to ask for "all the checked-in versions of file X"? >

[git-users] Looking for a change to a file

2015-09-13 Thread Michael
I've got a file, with a diff/change, that I thought had already been checked into a previous commit. I want to see if this change exists in any checkin of that file. Is there any way to ask for "all the checked-in versions of file X"? As far as I know, git only knows files by their sha hashes,

Re: [git-users] Looking for a change to a file

2015-09-13 Thread Magnus Therning
On Sun, Sep 13, 2015 at 03:16:21PM -0400, Paul Smith wrote: > On Sun, 2015-09-13 at 11:32 -0700, Michael wrote: > > I've got a file, with a diff/change, that I thought had already been > > checked into a previous commit. I want to see if this change exists in > > any checkin of that file. > > > >