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

18 Commits

Author SHA1 Message Date
ac335907ae Add ShortRefName to Ref interface 2024-08-28 18:27:52 +02:00
7270dea48d Switch git-todo-parser from fsmiamoto original repo to stefanhaller's fork
Sometimes it takes a while to get PRs accepted upstream, and this blocks our
progress. Since I'm pretty much the only one making changes there anyway, it
makes sense to point to my fork directly.
2024-04-22 20:59:15 +02:00
de1c495704 rename sha to hash 8, update some log and comment 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
12f24aa8b4 Add option RefToShowDivergenceFrom to GetCommitsOptions
Not used yet.
2023-08-29 08:16:40 +02:00
3928d0ebda Insert fake todo entry for a conflicting commit that is being applied
When stopping in a rebase because of a conflict, it is nice to see the commit
that git is trying to apply. Create a fake todo entry labelled "conflict" for
this, and show the "<-- YOU ARE HERE ---" string for that one (in red) instead
of for the real current head.
2023-06-22 18:57:58 +02:00
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