mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
exclude interactive rebase TODO commits from commit graph
This commit is contained in:
parent
5b7dd9e43c
commit
61ccc1efd2
3 changed files with 278 additions and 36 deletions
|
@ -40,3 +40,9 @@ func (c *Commit) Description() string {
|
|||
func (c *Commit) IsMerge() bool {
|
||||
return len(c.Parents) > 1
|
||||
}
|
||||
|
||||
// returns true if this commit is not actually in the git log but instead
|
||||
// is from a TODO file for an interactive rebase.
|
||||
func (c *Commit) IsTODO() bool {
|
||||
return c.Action != ""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue