lazygit/pkg
Stefan Haller cb0c8f39bf Simplify code and fix comment
The "// merge commit" comment was plain wrong, this is any commit that has a
parent, merge or not. The "else if" condition was unnecessary, a plain "else"
would have been enough. But the code in the two blocks was almost identical, so
extract the one thing that was different and unify it.

And while we're at it, use IsFirstCommit() instead of counting parents.
2025-04-29 14:57:15 +02:00
..
app Remove unused cherry-picking code in daemon 2025-04-20 15:59:48 +02:00
cheatsheet Update to go 1.24 2025-03-08 14:53:54 -05:00
commands Fix confusing variable name 2025-04-29 14:57:15 +02:00
common Make common.UserConfig an atomic.Pointer for safe concurrent access 2024-08-18 10:24:52 +02:00
config Modernize benchmarks 2025-04-29 14:57:15 +02:00
constants
env
fakes
gui Simplify code and fix comment 2025-04-29 14:57:15 +02:00
i18n Disallow creating custom patches when the diff context size is 0 2025-04-29 10:21:18 +02:00
integration Remove space after rebase todo 2025-04-29 11:30:37 +02:00
jsonschema Remove deprecated configs from auto generated config.md 2025-03-23 12:44:24 +01:00
logs
snake
tasks Fix race condition when starting several command tasks in quick succession 2025-04-27 10:48:43 +02:00
theme Highlight inactive selection in bold 2024-06-23 14:43:13 +02:00
updates Change direct access to Common.UserConfig to a getter 2024-08-18 10:24:52 +02:00
utils Modernize benchmarks 2025-04-29 14:57:15 +02:00