git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/2] gitk: disable autoselect by default

From
Andrej Shadura <andrew.shadura@collabora.co.uk>
Date
Feb 26, 2019, 11:05 UTC
Message-ID
<20190226110535.29172-2-andrew.shadura@collabora.co.uk>
In-Reply-To
<20190226110535.29172-1-andrew.shadura@collabora.co.uk>

Auto-selection of the commit hash overwrites whatever content was in the selection clipboard, and also pollutes the clipboard history if the user is using a clipboard manager. Most users probably want this off by default.

Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
---
 gitk-git/gitk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gitk-git/gitk b/gitk-git/gitk
index 5766754ab6..583e505709 100755
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -12291,7 +12291,7 @@ set maxlinelen 200
 set showlocalchanges 1
 set limitdiffs 1
 set datetimeformat "%Y-%m-%d %H:%M:%S"
-set autoselect 1
+set autoselect 0
 set autosellen 40
 set perfile_attrs 0
 set want_ttk 1
-- 
2.19.1
Previous: Andrej ShaduraNext: Paul Mackerras
Message 2 of 5 in “gitk: refresh the colour scheme”
  1. 1/2 gitk: refresh the colour schemeAndrej Shadura, Feb 26, 2019
  2. 2/2 gitk: disable autoselect by defaultAndrej Shadura, Feb 26, 2019
  3. Paul MackerrasMar 2, 2019
  4. Andrej ShaduraMar 4, 2019
  5. Andrej ShaduraFeb 4, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.