summaryrefslogtreecommitdiffstats
path: root/pkg/config/config_linux.go
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-03-22 10:01:43 +0100
committerGitHub <noreply@github.com>2024-03-22 10:01:43 +0100
commit53363b761cb183bf26fdd19928f31ee16bdefdcd (patch)
tree553f71524a51cfb3338f75d586aba6d0e09a6e82 /pkg/config/config_linux.go
parent28dd7f946752d31487b207ab05338dbf4898042f (diff)
parent96c5cbe34ee171a13a0f09235c3bb22d14c07b3e (diff)
Add config to truncate commit hashes when copying them to the clipboard (#3402)
- **PR Description** 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).
Diffstat (limited to 'pkg/config/config_linux.go')
0 files changed, 0 insertions, 0 deletions