A bit more regression fixes for 2.36

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

Junio C Hamano committed May 4, 2022 at 09:51 UTC f5aaf72f1b5aeb3b77bccabce014ea2590e823e2
1 file changed +34
Documentation/RelNotes/2.37.0.txt
+34
@@ -17,3 +17,37 @@ Fixes since v2.36
17 * Regression fix for 2.36 where "git name-rev" started to sometimes
18 reference strings after they are freed.
19 (merge 45a14f578e rs/name-rev-fix-free-after-use later to maint).
20 +
21 + * "git show <commit1> <commit2>... -- <pathspec>" lost the pathspec
22 + when showing the second and subsequent commits, which has been
23 + corrected.
24 + (merge 5cdb38458e jc/show-pathspec-fix later to maint).
25 +
26 + * "git fast-export -- <pathspec>" lost the pathspec when showing the
27 + second and subsequent commits, which has been corrected.
28 + (merge d1c25272f5 rs/fast-export-pathspec-fix later to maint).
29 +
30 + * "git format-patch <args> -- <pathspec>" lost the pathspec when
31 + showing the second and subsequent commits, which has been
32 + corrected.
33 + (merge 91f8f7e46f rs/format-patch-pathspec-fix later to maint).
34 +
35 + * "git clone --origin X" leaked piece of memory that held value read
36 + from the clone.defaultRemoteName configuration variable, which has
37 + been plugged.
38 + (merge 6dfadc8981 jc/clone-remote-name-leak-fix later to maint).
39 +
40 + * Get rid of a bogus and over-eager coccinelle rule.
41 + (merge 08bdd3a185 jc/cocci-xstrdup-or-null-fix later to maint).
42 +
43 + * The path taken by "git multi-pack-index" command from the end user
44 + was compared with path internally prepared by the tool withut first
45 + normalizing, which lead to duplicated paths not being noticed,
46 + which has been corrected.
47 + (merge 11f9e8de3d ds/midx-normalize-pathname-before-comparison later to maint).
48 +
49 + * Correct choices of C compilers used in various CI jobs.
50 + (merge 3506cae04f ab/cc-package-fixes later to maint).
51 +
52 + * Code clean-up.
53 + (merge e6b2582da3 cm/reftable-0-length-memset later to maint).