Skip to content

Commit 5b6f687

Browse files
committed
Autogenerated HTML docs for v2.52.0-120-gb31ab
1 parent 390fadc commit 5b6f687

File tree

5 files changed

+99
-21
lines changed

5 files changed

+99
-21
lines changed

‎RelNotes/2.53.0.adoc‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ UI, Workflows & Features
1111
in a transaction by default, instead of emitting where each refs
1212
should point at and leaving the actual update to another command.
1313

14+
* "git blame" learns "--diff-algorithm=<algo>" option.
15+
1416

1517
Performance, Internal Implementation, Development Support etc.
1618
--------------------------------------------------------------
@@ -57,6 +59,43 @@ Fixes since v2.52
5759
corrected.
5860
(merge 7a03a10a3a jx/repo-struct-utf8width-fix later to maint).
5961

62+
* Yet another corner case fix around renames in the "ort" merge
63+
strategy.
64+
(merge a562d90a35 en/ort-rename-another-fix later to maint).
65+
66+
* Test leakfix.
67+
(merge 14b561e768 jk/test-mktemp-leakfix later to maint).
68+
69+
* Update a version of action used at the GitHub Actrions CI.
70+
(merge cd99203f86 js/ci-github-setup-go-update later to maint).
71+
72+
* The "return errno = EFOO, -1" construct, which is heavily used in
73+
compat/mingw.c and triggers warnings under "-Wcomma", has been
74+
rewritten to avoid the warnings.
75+
(merge af3919816f js/mingw-assign-comma-fix later to maint).
76+
77+
* Makefile based build have recently been updated to build a
78+
libgit.a that also has reftable and xdiff objects; CMake based
79+
build procedure has been updated to match.
80+
(merge b0d5c88cca js/cmake-libgit-fix later to maint).
81+
82+
* Under-allocation fix.
83+
(merge d22a488482 js/wincred-get-credential-alloc-fix later to maint).
84+
85+
* "git worktree list" attempts to show paths to worktrees while
86+
aligning them, but miscounted display columns for the paths when
87+
non-ASCII characters were involved, which has been corrected.
88+
(merge 08dfa59835 pw/worktree-list-display-width-fix later to maint).
89+
90+
* "Windows+meson" job at the GitHub Actions CI was hard to debug, as
91+
it did not show and save failed test artifacts, which has been
92+
corrected.
93+
(merge 17bd1108ea jk/ci-windows-meson-test-fix later to maint).
94+
95+
* Emulation code clean-up.
96+
(merge 2367c6bcd6 gf/win32-pthread-cond-wait-err later to maint).
97+
6098
* Other code cleanup, docfix, build fix, etc.
6199
(merge 46207a54cc qj/doc-http-bad-want-response later to maint).
62100
(merge df90eccd93 kh/doc-commit-extra-references later to maint).
101+
(merge f18aa68861 rs/xmkstemp-simplify later to maint).

‎diff-algorithm-option.adoc‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
`--diff-algorithm=(patience|minimal|histogram|myers)`::
2+
Choose a diff algorithm. The variants are as follows:
3+
+
4+
--
5+
`default`;
6+
`myers`;
7+
The basic greedy diff algorithm. Currently, this is the default.
8+
`minimal`;
9+
Spend extra time to make sure the smallest possible diff is
10+
produced.
11+
`patience`;
12+
Use "patience diff" algorithm when generating patches.
13+
`histogram`;
14+
This algorithm extends the patience algorithm to "support
15+
low-occurrence common elements".
16+
--
17+
+
18+
For instance, if you configured the `diff.algorithm` variable to a
19+
non-default value and want to use the default one, then you
20+
have to use `--diff-algorithm=default` option.

‎diff-options.adoc‎

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -197,26 +197,7 @@ and starts with _<text>_, this algorithm attempts to prevent it from
197197
appearing as a deletion or addition in the output. It uses the "patience
198198
diff" algorithm internally.
199199

200-
`--diff-algorithm=(patience|minimal|histogram|myers)`::
201-
Choose a diff algorithm. The variants are as follows:
202-
+
203-
--
204-
`default`;
205-
`myers`;
206-
The basic greedy diff algorithm. Currently, this is the default.
207-
`minimal`;
208-
Spend extra time to make sure the smallest possible diff is
209-
produced.
210-
`patience`;
211-
Use "patience diff" algorithm when generating patches.
212-
`histogram`;
213-
This algorithm extends the patience algorithm to "support
214-
low-occurrence common elements".
215-
--
216-
+
217-
For instance, if you configured the `diff.algorithm` variable to a
218-
non-default value and want to use the default one, then you
219-
have to use `--diff-algorithm=default` option.
200+
include::diff-algorithm-option.adoc[]
220201

221202
`--stat[=<width>[,<name-width>[,<count>]]]`::
222203
Generate a diffstat. By default, as much space as necessary

‎git-blame.adoc‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ include::blame-options.adoc[]
8585
Ignore whitespace when comparing the parent's version and
8686
the child's to find where the lines came from.
8787

88+
include::diff-algorithm-option.adoc[]
89+
8890
--abbrev=<n>::
8991
Instead of using the default 7+1 hexadecimal digits as the
9092
abbreviated object name, use <m>+1 digits, where <m> is at

‎git-blame.html‎

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,42 @@ <h2 id="_options">OPTIONS</h2>
765765
<p>Ignore whitespace when comparing the parent&#8217;s version and
766766
the child&#8217;s to find where the lines came from.</p>
767767
</dd>
768+
<dtclass="hdlist1"><code>--diff-algorithm=</code>(<code>patience</code>|<code>minimal</code>|<code>histogram</code>|<code>myers</code>)</dt>
769+
<dd>
770+
<p>Choose a diff algorithm. The variants are as follows:</p>
771+
<divclass="openblock">
772+
<divclass="content">
773+
<divclass="dlist">
774+
<dl>
775+
<dtclass="hdlist1"><code>default</code></dt>
776+
<dtclass="hdlist1"><code>myers</code></dt>
777+
<dd>
778+
<p>The basic greedy diff algorithm. Currently, this is the default.</p>
779+
</dd>
780+
<dtclass="hdlist1"><code>minimal</code></dt>
781+
<dd>
782+
<p>Spend extra time to make sure the smallest possible diff is
783+
produced.</p>
784+
</dd>
785+
<dtclass="hdlist1"><code>patience</code></dt>
786+
<dd>
787+
<p>Use "patience diff" algorithm when generating patches.</p>
788+
</dd>
789+
<dtclass="hdlist1"><code>histogram</code></dt>
790+
<dd>
791+
<p>This algorithm extends the patience algorithm to "support
792+
low-occurrence common elements".</p>
793+
</dd>
794+
</dl>
795+
</div>
796+
</div>
797+
</div>
798+
<divclass="paragraph">
799+
<p>For instance, if you configured the <code>diff.algorithm</code> variable to a
800+
non-default value and want to use the default one, then you
801+
have to use <code>--diff-algorithm=default</code> option.</p>
802+
</div>
803+
</dd>
768804
<dtclass="hdlist1">--abbrev=&lt;n&gt;</dt>
769805
<dd>
770806
<p>Instead of using the default 7+1 hexadecimal digits as the
@@ -1100,7 +1136,7 @@ <h2 id="_git">GIT</h2>
11001136
</div>
11011137
<divid="footer">
11021138
<divid="footer-text">
1103-
Last updated 2025-06-20 18:10:42 -0700
1139+
Last updated 2025-11-26 11:15:27 -0800
11041140
</div>
11051141
</div>
11061142
</body>

0 commit comments

Comments
(0)