jesseduffield.lazygit/pkg
Stefan Haller 3b29705a78 Add config to truncate commit hashes when copying them to the clipboard
I often copy hashes in the commits panel in order to paste them into Github
comments (or other places), and I can't stand it when they have the full length.

I picked a default of 12 for this; I find this to be a good middle ground
between being reliable in large repos (12 still works in the linux kernel repo
today, but it might not be enough in really huge repos) and not being too ugly
(many smaller repos can probably get away with less).

We deliberately don't change this for the "Copy to clipboard" menu, since this
gives users a way to copy the unabbreviated sha if they need this occasionally.
2024-03-22 09:58:54 +01:00
..
app Support range select in rebase actions 2024-01-23 17:23:56 +11:00
cheatsheet Render keybinding cheatsheet as markdown table 2024-01-28 08:12:01 +11:00
commands Make it easy to create "amend!" commits 2024-03-22 08:27:45 +01:00
common Add AppState to common.Common 2023-09-04 17:48:39 +02:00
config Add config to truncate commit hashes when copying them to the clipboard 2024-03-22 09:58:54 +01: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 cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Add config to truncate commit hashes when copying them to the clipboard 2024-03-22 09:58:54 +01:00
i18n Make it easy to create "amend!" commits 2024-03-22 08:27:45 +01:00
integration Make it easy to create "amend!" commits 2024-03-22 08:27:45 +01:00
jsonschema Add UserConfig jsonschema generation script 2023-12-02 10:46:24 +01:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Refactor repo_paths.go to use git rev-parse 2024-01-24 08:40:01 +01:00
theme Standardise display of range selection across views 2024-01-19 10:47:21 +11:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Rename FuzzySearch to FilterStrings 2024-03-17 11:55:30 +01:00