Git 2.51.2

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Oct 26, 2025 at 17:47 UTC bb5c624209fcaebd60b9572b2cc8c61086e39b57
3 files changed +47 -2
Documentation/RelNotes/2.51.2.adoc new
+45
@@ -0,0 +1,45 @@
1 +Git 2.51.2 Release Notes
2 +========================
3 +
4 +In addition to fixes for an unfortunate regression introduced in Git
5 +2.51.1 that caused "git diff --quiet -w" to be not so quiet when there
6 +are additions, deletions and conflicts, this maintenance release merges
7 +more fixes/improvements that have landed on the master front, primarily
8 +to make the CI part of the system a bit more robust.
9 +
10 +
11 +Fixes since Git 2.51.1
12 +----------------------
13 +
14 + * Recently we attempted to improve "git diff -w --quiet" and friends
15 + to handle cases where patch output would be suppressed, but it
16 + introduced a bug that emits unnecessary output, which has been
17 + corrected.
18 +
19 + * The code to squelch output from "git diff -w --name-status"
20 + etc. for paths that "git diff -w -p" would have stayed silent
21 + leaked output from dry-run patch generation, which has been
22 + corrected.
23 +
24 + * Windows "real-time monitoring" interferes with the execution of
25 + tests and affects negatively in both correctness and performance,
26 + which has been disabled in Gitlab CI.
27 +
28 + * An earlier addition to "git diff --no-index A B" to limit the
29 + output with pathspec after the two directories misbehaved when
30 + these directories were given with a trailing slash, which has been
31 + corrected.
32 +
33 + * The "--short" option of "git status" that meant output for humans
34 + and "-z" option to show NUL delimited output format did not mix
35 + well, and colored some but not all things. The command has been
36 + updated to color all elements consistently in such a case.
37 +
38 + * Unicode width table update.
39 +
40 + * Recent OpenSSH creates the Unix domain socket to communicate with
41 + ssh-agent under $HOME instead of /tmp, which causes our test to
42 + fail doe to overly long pathname in our test environment, which has
43 + been worked around by using "ssh-agent -T".
44 +
45 +Also contains various documentation updates, code cleanups and minor fixups.
GIT-VERSION-GEN
+1 -1
@@ -1,6 +1,6 @@
1 #!/bin/sh
2
3 -DEF_VER=v2.51.1
3 +DEF_VER=v2.51.2
4
5 LF='
6 '
RelNotes
+1 -1
@@ -1 +1 @@
1 -Documentation/RelNotes/2.51.1.adoc
\ No newline at end of file
1 +Documentation/RelNotes/2.51.2.adoc
\ No newline at end of file