1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
c53c5e47ef Store commit.Action as an enum instead of a string
The main reason for doing this (besides the reasons given for Status in the
previous commit) is that it allows us to easily convert from TodoCommand to
Action and back. This will be needed later in the branch. Fortunately,
TodoCommand is one-based, so this allows us to add an ActionNone constant with
the value 0.
2023-04-15 08:36:03 +02:00
188773511e Store commit.Status as an enum instead of a string
This is unrelated to the changes in this PR, but since we are doing the same
thing for the commit.Action field in the next commit, it makes sense to do it
for Status too for consistency. Modelling this as an enum feels more natural
than modelling it as a string, since there's a finite set of possible values.
And it saves a little bit of memory (not very much, since none of the strings
were heap-allocated, but still).
2023-04-15 08:36:03 +02:00
b24955063c Allow rewording the head commit during interactive rebase 2023-04-01 08:16:15 +02:00
61970a4439 fix: fix ambiguous refname 2022-05-13 21:05:51 +09:00
e67fef776b add author email to commits 2022-05-08 14:26:18 +10:00
4dd09ee0d5 allow copying commit author to clipboard 2022-05-01 14:14:29 +10:00
30be50b641 add Commit.ParentRefName() 2022-04-02 17:04:42 +11:00
61ccc1efd2 exclude interactive rebase TODO commits from commit graph 2022-01-22 15:12:24 +11:00
4ab5e54139 add support for git bisect 2022-01-22 10:48:51 +11:00
fb395bca6e support reverting merge commits 2021-06-05 22:15:51 +10:00
ce6f8ed1bc move models folder into commands folder 2020-09-29 20:48:49 +10:00