diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2024-03-22 10:01:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 10:01:43 +0100 |
commit | 53363b761cb183bf26fdd19928f31ee16bdefdcd (patch) | |
tree | 553f71524a51cfb3338f75d586aba6d0e09a6e82 /pkg/config/config_linux.go | |
parent | 28dd7f946752d31487b207ab05338dbf4898042f (diff) | |
parent | 96c5cbe34ee171a13a0f09235c3bb22d14c07b3e (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