From 42ce67d67656af1241e4ef3aa4133991cccdafe6 Mon Sep 17 00:00:00 2001
From: Junio C Hamano
Date: Fri, 17 Mar 2023 14:36:41 -0700
Subject: Autogenerated HTML docs for v2.40.0-71-g95026
---
RelNotes/2.41.0.txt | 36 +++++++++++++++++++++++++++++
git-credential.html | 23 ++++++++++++++++--
git-credential.txt | 19 ++++++++++++++-
git-log.html | 9 ++++----
git-rev-list.html | 9 ++++----
git-rev-parse.html | 11 +++++----
git-rev-parse.txt | 9 ++++----
git-shortlog.html | 9 ++++----
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 +-
rev-list-options.txt | 9 ++++----
25 files changed, 122 insertions(+), 44 deletions(-)
create mode 100644 RelNotes/2.41.0.txt
diff --git a/RelNotes/2.41.0.txt b/RelNotes/2.41.0.txt
new file mode 100644
index 000000000..71c9342aa
--- /dev/null
+++ b/RelNotes/2.41.0.txt
@@ -0,0 +1,36 @@
+Git v2.41 Release Notes
+=======================
+
+UI, Workflows & Features
+
+ * Allow information carried on the WWW-AUthenticate header to be
+ passed to the credential helpers.
+
+ * A new "fetch.hideRefs" option can be used to exclude specified refs
+ from "rev-list --objects --stdin --not --all" traversal for
+ checking object connectivity, most useful when there are many
+ unrelated histories in a single repository.
+
+
+Performance, Internal Implementation, Development Support etc.
+
+ * Code clean-up to clarify directory traversal API.
+
+ * Code clean-up to clarify the rule that "git-compat-util.h" must be
+ the first to be included.
+
+ * More work towards -Wunused.
+
+ * Instead of forcing each command to choose to honor GPG related
+ configuration variables, make the subsystem lazily initialize
+ itself.
+
+
+Fixes since v2.40
+-----------------
+
+ * "git fsck" learned to check the index files in other worktrees,
+ just like "git gc" honors them as anchoring points.
+ (merge 8d3e7eac52 jk/fsck-indices-in-worktrees later to maint).
+
+ * Other code cleanup, docfix, build fix, etc.
diff --git a/git-credential.html b/git-credential.html
index 6956f32e7..f8f552f6b 100644
--- a/git-credential.html
+++ b/git-credential.html
@@ -864,7 +864,12 @@ attribute per line. Each attribute is specified by a key-value pair,
separated by an =
(equals) sign, followed by a newline.
The key may contain any bytes except =
, newline, or NUL. The value may
contain any bytes except newline or NUL.
-In both cases, all bytes are treated as-is (i.e., there is no quoting,
+
Attributes with keys that end with C-style array brackets []
can have
+multiple values. Each instance of a multi-valued attribute forms an
+ordered list of values - the order of the repeated attributes defines
+the order of the values. An empty multi-valued attribute (key[]=\n
)
+acts to clear any previous entries and reset the list.
+
In all cases, all bytes are treated as-is (i.e., there is no quoting,
and one cannot transmit a value with newline or NUL in it). The list of
attributes is terminated by a blank line or end-of-file.
Git understands the following attributes:
@@ -942,6 +947,20 @@ empty string.
Components which are missing from the URL (e.g., there is no
username in the example above) will be left unset.
+
+wwwauth[]
+
+
+
+ When an HTTP response is received by Git that includes one or more
+ WWW-Authenticate authentication headers, these will be passed by Git
+ to credential helpers.
+
+Each WWW-Authenticate header value is passed as a multi-valued
+attribute wwwauth[], where the order of the attributes is the same as
+they appear in the HTTP response. This attribute is one-way from Git
+to pass additional information to credential helpers.
+
Unrecognised attributes are silently discarded.
@@ -957,7 +976,7 @@ username in the example above) will be left unset.