Commit 0069b20
committed
cmd/git(fix[rev_list]): Honor date-range filters
why: rev_list's since/after/until/before/max_age/min_age flags were
never applied -- the guard tested the imported `datetime` module
instead of the loop value, so the condition was always False.
what:
- Test the loop value (datetime_kwarg), matching the adjacent flag
loop, so the date-range flags reach git rev-list.1 parent fd0d3d9 commit 0069b20
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
2207 | 2206 | | |
2208 | 2207 | | |
2209 | 2208 | | |
2210 | | - | |
| 2209 | + | |
2211 | 2210 | | |
2212 | 2211 | | |
2213 | 2212 | | |
| |||
0 commit comments