Re: --follow is ignored when used with --reverse

2013-07-02 Thread Junio C Hamano
Thomas Rast writes: > Lukas Fleischer writes: > >> On Tue, Jul 02, 2013 at 10:19:36AM +0100, John Keeping wrote: > [...] >>> $ git log --oneline --follow builtin/clone.c | wc -l >>> 125 >>> $ git log --oneline --follow --reverse builtin/clone.c | wc -l >>> 3 >> >> I just wanted t

Re: --follow is ignored when used with --reverse

2013-07-02 Thread Johannes Sixt
Am 5/24/2013 1:23, schrieb Alois Mahdal: > ...query for when the file was really added, > which I was trying to achieve with > > $ git -1 --reverse --follow several_times_renamed_file Assuming you meant 'git log -1 ...' or similar. It won't do what you think it would do because: * -1 is a re

Re: --follow is ignored when used with --reverse

2013-07-02 Thread John Keeping
On Tue, Jul 02, 2013 at 11:51:42AM +0200, Thomas Rast wrote: > Lukas Fleischer writes: > > > On Tue, Jul 02, 2013 at 10:19:36AM +0100, John Keeping wrote: > [...] > >> $ git log --oneline --follow builtin/clone.c | wc -l > >> 125 > >> $ git log --oneline --follow --reverse builtin/clo

Re: --follow is ignored when used with --reverse

2013-07-02 Thread Thomas Rast
Lukas Fleischer writes: > On Tue, Jul 02, 2013 at 10:19:36AM +0100, John Keeping wrote: [...] >> $ git log --oneline --follow builtin/clone.c | wc -l >> 125 >> $ git log --oneline --follow --reverse builtin/clone.c | wc -l >> 3 > > I just wanted to point out that it works fine whe

Re: --follow is ignored when used with --reverse

2013-07-02 Thread Lukas Fleischer
On Tue, Jul 02, 2013 at 10:19:36AM +0100, John Keeping wrote: > On Fri, May 24, 2013 at 01:23:24AM +0200, Alois Mahdal wrote: > > Hello! > > > > This [has been reported][1] to this list about half a year ago > > but with no response so I'm not even sure if it's been > > acknowledged as bug. > >

Re: --follow is ignored when used with --reverse

2013-07-02 Thread John Keeping
On Fri, May 24, 2013 at 01:23:24AM +0200, Alois Mahdal wrote: > Hello! > > This [has been reported][1] to this list about half a year ago > but with no response so I'm not even sure if it's been > acknowledged as bug. > > [1]: http://marc.info/?l=git&m=135215709307126&q=raw > > When I use `gi

Re: --follow is ignored when used with --reverse

2013-07-02 Thread Ramkumar Ramachandra
Alois Mahdal wrote: > This [has been reported][1] to this list about half a year ago > but with no response so I'm not even sure if it's been > acknowledged as bug. Yes, this is a bug. However, it is not at all easy to fix; so I would recommend that you contribute a documentation patch/ failing

Re: --follow is ignored when used with --reverse

2013-07-02 Thread alois . mahdal . 1-ndmail
On 2013-05-24 01:23, Alois Mahdal wrote: [...] When I use `git log --follow file` all is OK, but once I add `--reverse` to it, it no longer follows the file beyond renames. This makes it hard to query for when the file was really added, which I was trying to achieve with $ git -1 --reverse

--follow is ignored when used with --reverse

2013-05-23 Thread Alois Mahdal
Hello! This [has been reported][1] to this list about half a year ago but with no response so I'm not even sure if it's been acknowledged as bug. [1]: http://marc.info/?l=git&m=135215709307126&q=raw When I use `git log --follow file` all is OK, but once I add `--reverse` to it, it no longer f