Jesse Duffield
e33fe37a99
Standardise on using lo for slice functions
...
We've been sometimes using lo and sometimes using my slices package, and we need to pick one
for consistency. Lo is more extensive and better maintained so we're going with that.
My slices package was a superset of go's own slices package so in some places I've just used
the official one (the methods were just wrappers anyway).
I've also moved the remaining methods into the utils package.
2023-07-30 18:51:23 +10:00
Jesse Duffield
0e0458f355
More compact and flexible date format
...
You can now configure both a time format and a short time format, where the short format kicks in
when the time is within the last day
2023-05-26 17:31:39 +10:00
Luka Markušić
1f482e585e
Fix github linter errors
2022-07-30 08:10:29 +02:00
Ryooooooga
1f1d871837
feat: add ability to customize time format
2022-05-18 20:55:27 +09:00
Jesse Duffield
1b75ed3740
many more generics
2022-03-24 20:14:41 +11:00
Jesse Duffield
c7a629c440
make more use of generics
2022-03-24 20:14:41 +11:00
Jesse Duffield
5ded030a88
diff colour for reflog commits
2022-03-23 18:53:29 +11:00
Sam Burville
c5f7ad5adb
Make cherry pick commit color customisable
...
Two new settings in the config, which allow the cherry picked
foreground and background to be custom colors.
Issue #856
2021-09-30 01:26:05 +10:00
Jesse Duffield
117c0bd4f7
simplify code a bit
2021-07-31 17:33:13 +10:00
mjarkk
79848087bc
Switch to github.com/gookit/color for terminal colors
2021-07-30 15:14:46 +02:00
mjarkk
fc066d2f2e
parse github emoji config option
2021-07-16 14:06:01 +02:00
Jesse Duffield
ce6f8ed1bc
move models folder into commands folder
2020-09-29 20:48:49 +10:00
Jesse Duffield
630e446989
move commits model into models package
2020-09-29 20:48:49 +10:00
Jesse Duffield
442f6cd854
more cherry picking stuff, mostly around the reflog
2020-08-23 14:29:18 +10:00
Jesse Duffield
40fbce91ce
add new diff mode
...
WIP
WIP
WIP
WIP
WIP
WIP
WIP
2020-03-29 18:26:24 +11:00
Jesse Duffield
198d237679
more centralised handling of refreshing
2020-03-28 11:59:45 +11:00
Jesse Duffield
37acc17cf3
more lenient getting of short shas
2020-03-26 18:30:02 +11:00
Jesse Duffield
98fbc61221
better formatted reflog list
2020-03-25 09:39:04 +11:00