Commit graph

41 commits

Author SHA1 Message Date
Tobias Kunze
b8229fe2a4 Logic is hard, let’s go shopping 2024-02-13 15:01:00 +01:00
Tobias Kunze
a5a4536e90 Support open-ended references 2023-09-26 12:34:48 +02:00
Tobias Kunze
6ddc652963 Add logging 2023-09-26 00:37:50 +02:00
Tobias Kunze
b8c17b90e2 Allow to rebase entire repository 2023-09-25 18:34:26 +02:00
Tobias Kunze
b2714650c5 Fix except_days logic 2023-09-25 18:31:52 +02:00
Tobias Kunze
07a0709b10 Feature: exclude days specifically 2023-09-15 12:06:19 +02:00
Tobias Kunze
b99f3a3fc2 Make sure commits remain in chronological order
Supersedes #10, thanks to @tobikrs for the idea
2023-08-03 04:05:07 +02:00
Tobias Kunze
d9abd5c921 Fix small off-by-one inaccuracy
Thanks to @tobikrs in #10
2023-08-03 04:05:07 +02:00
Tobias Krause
eeae8c8984 increase backward compatibility for type hints/annotations 2023-08-03 03:25:42 +02:00
Erjan Kalybek
e60df4039f Fix readme typo 2023-07-22 18:14:57 +02:00
Troy Hinckley
0bbb3292f8 Update sed command to work with MacOS and Linux
The current sed command only works with the GNU/Linux version of sed. To make it
cross platform we make two changes:

1. Change the in-place argument to use [cross platform syntax](https://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux)
2. Change the extended regex flag to the [POSIX compatible flag](https://stackoverflow.com/a/6762201/6411120)
2023-07-22 12:11:37 +02:00
Tobias Kunze
8ba5a0eba0 Add a licence file
closes #6
2023-07-18 18:24:10 +02:00
Anthony Ricaud
a5e5b099eb Use a more portable Python shebang
Following those recommandations https://realpython.com/python-shebang/#what-are-best-practices-for-the-shebang
2023-07-13 15:30:06 +02:00
Tobias Kunze
fef6d6e23b Remove non-canonical comma 2023-07-13 09:35:05 +02:00
Tobias Kunze
afe91e10ad Typo 2023-07-13 09:31:54 +02:00
Tobias Kunze
843fb34b2d Improve the README
via https://chaos.social/@lobingera/110705557712845186
2023-07-13 09:23:53 +02:00
Tobias Kunze
ad1ee73eba Fix typing, supersedes #2
closes #2
2023-07-13 00:55:18 +02:00
Tobias Kunze
240cd0cfd4 More very good reasons for changing commit times 2023-07-12 23:30:11 +02:00
Tobias Kunze
0e02b1e056 Improve README 2023-07-12 23:15:30 +02:00
Tobias Kunze
11624d6293 Add README 2023-07-12 23:13:08 +02:00
Tobias Kunze
52ec5dba09 Remove incorrect requirements file 2023-07-12 20:04:19 +02:00
Tobias Kunze
88ec523df4 Fix b0rked business hours 2023-07-12 18:58:13 +02:00
Tobias Kunze
35b63e4ef2 Never put commit dates in the future 2023-07-12 18:54:29 +02:00
Tobias Kunze
339cb19122 Make end inclusive 2023-07-11 21:35:47 +02:00
Tobias Kunze
92542fb1fe Misunderstood argparse docs 2023-07-11 20:34:07 +02:00
Tobias Kunze
fca127f689 Always rebase, complexity not worth amend-only runs 2023-07-11 18:52:09 +02:00
Tobias Kunze
d0f7cdd387 Type hints and better docs 2023-07-11 18:02:17 +02:00
Tobias Kunze
e248151b4b Use pathlib for fun and profit 2023-07-10 20:40:43 +02:00
Tobias Kunze
5fd308ed5a Rip out click to be zero-dependency* 2023-07-10 19:01:55 +02:00
Tobias Kunze
544409216e [git-backdate] Improve documentation 2023-07-12 16:22:36 +02:00
Tobias Kunze
f6383c2834 [git-backdate] Make code more readable 2023-07-09 19:15:16 +02:00
Tobias Kunze
b9e2f0c7b7 [git-backdate] Make code more readable 2023-07-09 19:06:37 +02:00
Tobias Kunze
1fbc429dd3 [git-backdate] Don't allow arbitrary repos 2023-07-08 21:06:31 +02:00
Tobias Kunze
be50408082 [git-backdate] Fix rebase logic 2023-07-08 20:42:14 +02:00
Tobias Kunze
2a151d7d38 [git-backdate] Only stop for relevant commits 2023-07-08 19:29:29 +02:00
Tobias Kunze
1caad9e2dd [git-backdate] Code style 2023-07-07 23:33:18 +02:00
Tobias Kunze
87619fcbed [git-backdate] Don't assume order 2023-07-07 21:47:25 +02:00
Tobias Kunze
c69885cec4 [git-backdate] Improve git integration 2023-07-07 20:53:21 +02:00
Tobias Kunze
82a7c7e52b [git-backdate] fix bugs 2023-07-07 19:13:13 +02:00
Tobias Kunze
d3e8deaf64 [git-backdate] Don't commit on weekends 2023-07-06 20:52:41 +02:00
Tobias Kunze
203cc4dc68 [git-backdate] init 2023-07-06 20:14:00 +02:00