git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix doc default hash algorithm in WITH_BREAKING_CHANGES mode
@ 2025-12-02  1:46 brian m. carlson
  2025-12-02  1:46 ` [PATCH 1/4] docs: update git hash algorithm for breaking changes mode brian m. carlson
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: brian m. carlson @ 2025-12-02  1:46 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Patrick Steinhardt

When WITH_BREAKING_CHANGES is defined, the default hash algorithm is not
SHA-1, but SHA-256.  However, our documentation was never updated to
reflect this, and as a result, we end up misinforming users.

This series fixes four places where we indicate a default hash algorithm
in our documentation such that they conditionally say that either SHA-1
or SHA-256 is the default, based on the the with-breaking-changes
attribute.  This both improves accuracy now and also makes it less
likely that we'll forget to update these places when we hit Git 3.0.

brian m. carlson (4):
  docs: update git hash algorithm for breaking changes mode
  docs: update index-pack hash algorithm for breaking changes mode
  docs: update init hash algorithm for breaking changes mode
  docs: update show-index hash algorithm for breaking changes mode

 Documentation/git-index-pack.adoc | 14 +++++++++++---
 Documentation/git-init.adoc       |  8 +++++++-
 Documentation/git-show-index.adoc | 14 +++++++++++---
 Documentation/git.adoc            |  8 +++++++-
 4 files changed, 36 insertions(+), 8 deletions(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-12-02 11:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02  1:46 [PATCH 0/4] Fix doc default hash algorithm in WITH_BREAKING_CHANGES mode brian m. carlson
2025-12-02  1:46 ` [PATCH 1/4] docs: update git hash algorithm for breaking changes mode brian m. carlson
2025-12-02  7:04   ` Junio C Hamano
2025-12-02  1:46 ` [PATCH 2/4] docs: update index-pack " brian m. carlson
2025-12-02  1:46 ` [PATCH 3/4] docs: update init " brian m. carlson
2025-12-02  1:46 ` [PATCH 4/4] docs: update show-index " brian m. carlson
2025-12-02  8:18 ` [PATCH 0/4] Fix doc default hash algorithm in WITH_BREAKING_CHANGES mode Patrick Steinhardt
2025-12-02 11:52   ` brian m. carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).