19bef17042
rename sha to hash 10, last remaining sha (hopefully)
2024-04-12 08:33:47 +02:00
170c4ecb8c
rename sha to hash 9, case: Sha
2024-04-12 08:33:47 +02:00
05fb12b1d5
rename sha to hash 6, update short hash
2024-04-12 08:33:47 +02:00
e6ef1642fa
rename sha to hash
2024-04-12 08:33:47 +02:00
84333eebc3
renaming variable to CommitHash
2024-04-12 08:33:47 +02:00
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
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
1f482e585e
Fix github linter errors
2022-07-30 08:10:29 +02:00
1f1d871837
feat: add ability to customize time format
2022-05-18 20:55:27 +09:00
1b75ed3740
many more generics
2022-03-24 20:14:41 +11:00
c7a629c440
make more use of generics
2022-03-24 20:14:41 +11:00
5ded030a88
diff colour for reflog commits
2022-03-23 18:53:29 +11:00
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
117c0bd4f7
simplify code a bit
2021-07-31 17:33:13 +10:00
79848087bc
Switch to github.com/gookit/color for terminal colors
2021-07-30 15:14:46 +02:00
fc066d2f2e
parse github emoji config option
2021-07-16 14:06:01 +02:00
ce6f8ed1bc
move models folder into commands folder
2020-09-29 20:48:49 +10:00
630e446989
move commits model into models package
2020-09-29 20:48:49 +10:00
442f6cd854
more cherry picking stuff, mostly around the reflog
2020-08-23 14:29:18 +10:00
40fbce91ce
add new diff mode
...
WIP
WIP
WIP
WIP
WIP
WIP
WIP
2020-03-29 18:26:24 +11:00
198d237679
more centralised handling of refreshing
2020-03-28 11:59:45 +11:00
37acc17cf3
more lenient getting of short shas
2020-03-26 18:30:02 +11:00
98fbc61221
better formatted reflog list
2020-03-25 09:39:04 +11:00