jesseduffield.lazygit/pkg
Stefan Haller 48330141bd Cleanup: put the IsPasting logic in the right place
Previously it was used both for the Confirm handler and the Cancel handler, as
well as for the Confirm handler of confirmation popups (not prompts). There was
no other way to do it given how wrappedConfirmationFunction was shared between
all these; but now there is. The logic is really only needed for the Confirm
handler of prompts.

This doesn't fix anything, it just makes things clearer.
2025-11-15 14:13:24 +01:00
..
app Show a better error message if the temp directory is not writeable 2025-10-16 10:04:47 +02:00
cheatsheet Update generators to change the files in the -master directories 2025-11-12 08:44:56 +01:00
commands Modernize all codes 2025-11-15 10:46:23 +01:00
common Move NewDummyCommon to pkg/common 2025-05-06 09:43:26 +02:00
config Add config option gui.skipSwitchWorktreeOnCheckoutWarning 2025-10-14 14:19:54 +02:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes Modernize all codes 2025-11-15 10:46:23 +01:00
gui Cleanup: put the IsPasting logic in the right place 2025-11-15 14:13:24 +01:00
i18n Modernize all codes 2025-11-15 10:46:23 +01:00
integration Modernize all codes 2025-11-15 10:46:23 +01:00
jsonschema Modernize all codes 2025-11-15 10:46:23 +01:00
logs Clean up build tags 2025-08-14 20:40:44 +02:00
snake Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00
tasks Modernize all codes 2025-11-15 10:46:23 +01: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 all codes 2025-11-15 10:46:23 +01:00