Changes section: show <1yo commits initially
Created by: lguychard
Rel. https://github.com/sourcegraph/customer/issues/23
The "Changes" view searches linearly through git log for the last N commits affecting the given subdirectory. When the git history is very long, and the subdirectory has no recent changes, this can be very slow.
With this change, the Changes section only displays commits from the past year by default, passing down an after
argument to git log
. The user can opt to display all commits.
cc @beyang