jesseduffield.lazygit/pkg
Stefan Haller a8aeadfdb7 Always show branch heads in diff pane
The first line of the diff pane would show branch heads (e.g.

  commit dd9100ccc8b69a8b14b21a84e34854b5acfb871a (mybranch, origin/mybranch)

only when a pager is used. The reason is that the default of the --decorate
option to git show is "auto", which means to show the decoration only when
output goes to a tty. Lazygit uses a pty only when a pager is used, so the
decoration wouldn't show when no pager is used.

Since the branch head annotation is useful and we always want to see it, force
it by explicitly passing --decorate.
2023-06-28 09:44:06 +02:00
..
app Fix focus issue when opening recent-repos menu at launch 2023-06-07 18:27:18 +10:00
cheatsheet Use sentence case everywhere 2023-05-25 23:52:19 +10:00
commands Always show branch heads in diff pane 2023-06-28 09:44:06 +02:00
common introduce Common struct for passing around common stuff 2022-01-04 09:07:15 +11:00
config Rename the gui.skipUnstageLineWarning conf key to gui.skipDiscardChangeWarning 2023-06-26 08:19:58 +02:00
constants update release notes 2021-04-20 18:34:47 +10:00
env clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Rename "Delete change" menu entry to "Discard change" in staging panel 2023-06-26 08:19:58 +02:00
i18n feat(i18n): add russian translation 2023-06-28 00:34:59 +06:00
integration Fix the title and text (and variable names) of the Discard Changes prompt 2023-06-26 08:15:35 +02:00
logs Allow global logging when developing 2023-05-25 18:31:32 +10:00
secureexec Cache binary paths 2023-05-23 19:15:33 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks prevent unnecessary re-renders of view 2023-04-02 15:44:05 +10:00
theme Set defaults colours to 'default', not 'white' 2023-06-01 18:59:04 +10:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Avoid rewriting the file if nothing changed 2023-06-26 08:11:10 +02:00