#477812 log: handle --follow before --before

Package:
git
Source:
git
Description:
fast, scalable, distributed revision control system
Submitter:
Nikolaus Schulz
Date:
2010-05-15 21:21:15 UTC
Severity:
wishlist
#477812#5
Date:
2008-04-25 12:45:49 UTC
From:
To:
Hi,

this is ugly: if you do

    git log --follow --before=<date> <foo>

the log will be empty if <foo> was renamed after/at <date>.

Nikolaus

#477812#16
Date:
2010-02-12 01:55:41 UTC
From:
To:
found 477812 1:1.7.0~rc1-1
tags 477812 + upstream
retitle 477812 log: handle --follow before --before
severity 477812 wishlist
thanks

Hi Nikolaus,

Nikolaus Schulz wrote:

Totally agreed.

For example, in the git source repository:

git log --color --follow --before='Jan.23.2010' t/t1507-rev-parse-upstream.sh

I am marking this wishlist because I suspect it would be hard to do
right.  There might be people who were relying on the current behavior,
though I doubt it.  I cannot guarantee I’ll get to it any time soon,
since I have not learned the revision walking machinery yet (though
apparently it is well documented in Documentation/technical).

Thanks for the report, and sorry I did not get to this sooner,
Jonathan