From 9f24e83938a63da598f028aa55ca719785e735a1 Mon Sep 17 00:00:00 2001
From: Junio C Hamano
Date: Tue, 25 Apr 2023 14:41:32 -0700
Subject: Autogenerated HTML docs for v2.40.1-423-g2807b
---
RelNotes/2.41.0.txt | 13 ++++++++++++
githooks.html | 33 ++++++++++++++++++++++++++++-
githooks.txt | 22 +++++++++++++++++++
howto/coordinate-embargoed-releases.html | 2 +-
howto/keep-canonical-history-correct.html | 2 +-
howto/maintain-git.html | 2 +-
howto/new-command.html | 2 +-
howto/rebase-from-internal-branch.html | 2 +-
howto/rebuild-from-update-hook.html | 2 +-
howto/recover-corrupted-blob-object.html | 2 +-
howto/recover-corrupted-object-harder.html | 2 +-
howto/revert-a-faulty-merge.html | 2 +-
howto/revert-branch-rebase.html | 2 +-
howto/separating-topic-branches.html | 2 +-
howto/setup-git-server-over-http.html | 2 +-
howto/update-hook-example.html | 2 +-
howto/use-git-daemon.html | 2 +-
howto/using-merge-subtree.html | 2 +-
howto/using-signed-tag-in-pull-request.html | 2 +-
19 files changed, 83 insertions(+), 17 deletions(-)
diff --git a/RelNotes/2.41.0.txt b/RelNotes/2.41.0.txt
index abbaff309..63345b959 100644
--- a/RelNotes/2.41.0.txt
+++ b/RelNotes/2.41.0.txt
@@ -69,6 +69,10 @@ UI, Workflows & Features
learns "--omit-empty" to hide refs that whose formatting result
becomes an empty string from the output.
+ * The sendemail-validate validate hook learned to pass the total
+ number of input files and where in the sequence each invocation is
+ via environment variables.
+
Performance, Internal Implementation, Development Support etc.
@@ -240,6 +244,15 @@ Fixes since v2.40
paths outside the current directory.
(merge 92b1dd1b9e rs/archive-from-subdirectory-fixes later to maint).
+ * The code to parse capability list for v0 on-wire protocol fell into
+ an infinite loop when a capability appears multiple times, which
+ has been corrected.
+
+ * Geometric repacking ("git repack --geometric=") in a repository
+ that borrows from an alternate object database had various corner
+ case bugs, which have been corrected.
+ (merge d85cd18777 ps/fix-geom-repack-with-alternates later to maint).
+
* Other code cleanup, docfix, build fix, etc.
(merge f7111175df as/doc-markup-fix later to maint).
(merge 90ff7c9898 fc/test-aggregation-clean-up later to maint).
diff --git a/githooks.html b/githooks.html
index 06e09a6a4..0a81d1fe0 100644
--- a/githooks.html
+++ b/githooks.html
@@ -1290,6 +1290,37 @@ processed by rebase.
the name of the file that holds the e-mail to be sent. Exiting with a
non-zero status causes git send-email
to abort before sending any
e-mails.
+The following environment variables are set when executing the hook.
+
+-
+
GIT_SENDEMAIL_FILE_COUNTER
+
+-
+
+ A 1-based counter incremented by one for every file holding an e-mail
+ to be sent (excluding any FIFOs). This counter does not follow the
+ patch series counter scheme. It will always start at 1 and will end at
+ GIT_SENDEMAIL_FILE_TOTAL.
+
+
+-
+
GIT_SENDEMAIL_FILE_TOTAL
+
+-
+
+ The total number of files that will be sent (excluding any FIFOs). This
+ counter does not follow the patch series counter scheme. It will always
+ be equal to the number of files being sent, whether there is a cover
+ letter or not.
+
+
+
+These variables may for instance be used to validate patch series.
+The sample sendemail-validate
hook that comes with Git checks that all sent
+patches (excluding the cover letter) can be applied on top of the upstream
+repository default branch without conflicts. Some placeholders are left for
+additional validation steps to be performed after all patches of a given series
+have been applied.
fsmonitor-watchman
@@ -1394,7 +1425,7 @@ running passing "1", "1" should not be possible.