mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
drop merge commits when interactive rebasing just like git CLI
This commit is contained in:
parent
30a066aa41
commit
f99d5f74d4
5 changed files with 57 additions and 13 deletions
|
@ -12,6 +12,9 @@ type Commit struct {
|
|||
ExtraInfo string // something like 'HEAD -> master, tag: v0.15.2'
|
||||
Author string
|
||||
UnixTimestamp int64
|
||||
|
||||
// IsMerge tells us whether we're dealing with a merge commit i.e. a commit with two parents
|
||||
IsMerge bool
|
||||
}
|
||||
|
||||
func (c *Commit) ShortSha() string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue