Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RelNotes/2.53.0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,7 @@ Fixes since v2.52
(merge fddba8f737 ja/doc-synopsis-style later to maint).
(merge 22ce0cb639 en/xdiff-cleanup-2 later to maint).
(merge 8ef7355a8f je/doc-pull later to maint).
(merge 48176f953f jc/capability-leak later to maint).
(merge 8cbbdc92f7 kh/doc-pre-commit-fix later to maint).
(merge d4bc39a4d9 mh/doc-config-gui-gcwarning later to maint).
(merge 41d425008a kh/doc-send-email-paragraph-fix later to maint).
8 changes: 7 additions & 1 deletion git-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -5732,6 +5732,12 @@ <h3 id="_variables">Variables</h3>
<code>Context</code> menu item is invoked from <em>git gui blame</em>. If this
variable is set to zero, the whole history is shown.</p>
</dd>
<dt class="hdlist1">gui.GCWarning</dt>
<dd>
<p>Determines whether <a href="git-gui.html">git-gui(1)</a> should prompt for garbage
collection when git detects a large number of loose objects in
the repository. The default value is "true".</p>
</dd>
<dt class="hdlist1">guitool.&lt;name&gt;.cmd</dt>
<dd>
<p>Specifies the shell command line to execute when the corresponding item
Expand Down Expand Up @@ -10092,7 +10098,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2025-10-20 15:09:57 -0700
Last updated 2025-10-21 07:09:57 +0900
</div>
</div>
</body>
Expand Down
1 change: 0 additions & 1 deletion git-send-email.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ for instructions.
If disabled with `--no-use-imap-only`, the emails will be sent like usual.
Disabled by default, but the `sendemail.useImapOnly` configuration
variable can be used to enable it.

+
This feature requires setting up `git imap-send`. See linkgit:git-imap-send[1]
for instructions.
Expand Down
11 changes: 4 additions & 7 deletions githooks.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,14 @@ invoked before obtaining the proposed commit log message and
making a commit. Exiting with a non-zero status from this script
causes the `git commit` command to abort before creating a commit.

The default 'pre-commit' hook, when enabled, catches introduction
of lines with trailing whitespaces and aborts the commit when
such a line is found.

All the `git commit` hooks are invoked with the environment
variable `GIT_EDITOR=:` if the command will not bring up an editor
to modify the commit message.

The default 'pre-commit' hook, when enabled--and with the
`hooks.allownonascii` config option unset or set to false--prevents
the use of non-ASCII filenames.
The default 'pre-commit' hook, when enabled, prevents the introduction
of non-ASCII filenames and lines with trailing whitespace. The non-ASCII
check can be turned off by setting the `hooks.allownonascii` config
option to `true`.

pre-merge-commit
~~~~~~~~~~~~~~~~
Expand Down
14 changes: 5 additions & 9 deletions githooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -569,19 +569,15 @@ <h3 id="_pre_commit">pre-commit</h3>
causes the <code>git</code> <code>commit</code> command to abort before creating a commit.</p>
</div>
<div class="paragraph">
<p>The default <em>pre-commit</em> hook, when enabled, catches introduction
of lines with trailing whitespaces and aborts the commit when
such a line is found.</p>
</div>
<div class="paragraph">
<p>All the <code>git</code> <code>commit</code> hooks are invoked with the environment
variable <code>GIT_EDITOR=:</code> if the command will not bring up an editor
to modify the commit message.</p>
</div>
<div class="paragraph">
<p>The default <em>pre-commit</em> hook, when enabled&#8212;&#8203;and with the
<code>hooks.allownonascii</code> config option unset or set to false&#8212;&#8203;prevents
the use of non-ASCII filenames.</p>
<p>The default <em>pre-commit</em> hook, when enabled, prevents the introduction
of non-ASCII filenames and lines with trailing whitespace. The non-ASCII
check can be turned off by setting the <code>hooks.allownonascii</code> config
option to <code>true</code>.</p>
</div>
</div>
<div class="sect2">
Expand Down Expand Up @@ -1400,7 +1396,7 @@ <h2 id="_git">GIT</h2>
</div>
<div id="footer">
<div id="footer-text">
Last updated 2025-06-20 18:10:42 -0700
Last updated 2025-12-17 17:39:34 +0900
</div>
</div>
</body>
Expand Down