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

[PATCH v2] Documentation/config.txt: Add git-gui options

From
Gustaf Hendeby <hendeby@isy.liu.se>
Date
May 8, 2008, 08:55 UTC
Message-ID
<1210236902-8008-1-git-send-email-hendeby@isy.liu.se>
In-Reply-To
<20080507230948.GT29038@spearce.org>

The 'git gui' has a number of options that can be specified using the options dialog. Sometimes it is convenient to be able to specify these from the command line, therefor document these options.

Signed-off-by: Gustaf Hendeby <hendeby@isy.liu.se>
Acked-by: Shawn O. Pearce <speace@spearce.org>
---
This patch differs from the previous one in two ways:
1. Since Shawn has fixed the problem with the spell checking already
(thanks!) and it will make its way into git soon, I removed the
comment about how gui.spellingdictionary="no can used to have git gui
start with older versions of aspell.  I think it just confuse people
if it doesn't apply any more.
2. Some of the language looked a bit strange when I read it through
this time, so I changed some wordings.  A pair of native English eyes
would probably not be a bad idea.
/Gustaf
 Documentation/config.txt |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 00f089f..c4d6ccd 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -684,6 +684,36 @@ specified as 'gitcvs.<access_method>.<varname>' (where 'access_method'
 is one of "ext" and "pserver") to make them apply only for the given
 access method.
 
+gui.commitmsgwidth::
+	Defines how wide the commit message window is in the
+	linkgit:git-gui[1]. "75" is the default.
+
+gui.diffcontext::
+	Specifies how many context lines should be used in calls to diff
+	made by the linkgit:git-gui[1]. The default is "5".
+
+gui.matchtrackingbranch::
+	Determines if new branches created with linkgit:git-gui[1] should
+	default to tracking remote branches with matching names or
+	not. Default: "false".
+
+gui.newbranchtemplate::
+	Is used as suggested name when creating new branches using the
+	linkgit:git-gui[1].
+
+gui.pruneduringfetch::
+	"true" if linkgit:git-gui[1] should prune tracking branches when
+	performing a fetch. The default value is "false".
+
+gui.trustmtime::
+	Determines if linkgit:git-gui[1] should trust the file modification
+	timestamp or not. By default the timestamps are not trusted.
+
+gui.spellingdictionary::
+	Specifies the dictionary used for spell checking commit messages in
+	the linkgit:git-gui[1]. When set to "none" spell checking is turned
+	off.
+
 help.browser::
 	Specify the browser that will be used to display help in the
 	'web' format. See linkgit:git-help[1].
-- 
1.5.5.1.273.g4b2d7
Previous: Shawn O. Pearce
Message 3 of 3 in “Documentation/config.txt: Add git-gui options”
  1. Documentation/config.txt: Add git-gui optionsGustaf Hendeby, May 6, 2008
  2. Shawn O. PearceMay 7, 2008
  3. Documentation/config.txt: Add git-gui optionsGustaf Hendeby, May 8, 2008

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.