diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2024-12-11 11:22:03 +0200 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2024-12-13 01:37:08 +0200 |
commit | d77c3e35bbca78a0cee6f0eacecccd9aac957c8b (patch) | |
tree | 11d8897d0890a32e998df0d0e06ff1ead6b252e7 /diff.c | |
parent | 92d911a531e905ec730fa527d55d1622e948d83a (diff) |
gitk: support auto-copy comit ID to primary clipboard
Auto-select ("Copy commit ID to X11 selection") is useful when a
selection cliboard exists, but otherwise generally meaningless, for
instance on Windows.
Add a similar pref and behavior which copies the commit ID to the
primary clipboard - for platforms without a selection clipboard, but
which can also be useful additionally on platforms with selection.
Note that while autoselect is enabled by default, autocopy isn't.
That's because the selection clipboard is typically dispensable, while
the primary clipboard can be considered a more precious resource,
which we don't want to (clear and) overwrite by default.
Signed-off-by: Avi Halachmi (:avih) <avihpit@yahoo.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions