Subject: [PATCH] gnu: git: Update to 2.49.0.

From: Ashish SHUKLA <[email-masked]>
Date: Mon, 17 Mar 2025 18:41:59 +0100

* gnu/packages/version-control.scm (git-minimal): Update to 2.49.0.
(git)[#:phases]<patch-makefiles>: Update to patch all Makefiles.
<install-man-pages>: Update hash.

Change-Id: I03817cf0b75d6f1b846d64c84d9590b704a5c513
---
 gnu/packages/version-control.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c7adc2dfe5..2461d68169 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -322,14 +322,14 @@ (define git-cross-configure-flags
 (define-public git-minimal
   (package
     (name "git-minimal")
-    (version "2.48.1")
+    (version "2.49.0")
     (source (origin
              (method url-fetch)
              (uri (string-append "mirror://kernel.org/software/scm/git/git-"
                                  version ".tar.xz"))
              (sha256
               (base32
-               "1bc29w1cd1akbnpfjc7sl5ms7cc8vy7xjl1cbplm3sy1bmgm8p8w"))))
+               "0a2nm2szhn47dm0m1f1kmg1rikb7saqj67zr25n9yzhbb77r10b1"))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -635,7 +635,8 @@ (define-public git
             (delete 'remove-unusable-perl-commands)
             (replace 'patch-makefiles
               (lambda _
-                (substitute* "Makefile"
+                (substitute* (find-files "." "Makefile")
+                  (("/bin/sh") (which "sh"))
                   (("/usr/bin/perl") (which "perl"))
                   (("/usr/bin/python") (which "python3")))))
             (add-after 'build 'build-subtree
@@ -796,7 +797,7 @@ (define-public git
                                ".tar.xz"))
                          (sha256
                           (base32
-                           "11k871fz119f6hbzvfg64hr7vdbaqd8x2brg5mhbyvadz9xdw3jc"))))))))))))
+                           "1my4qax2wxlhxsyf3wjxllsc2jy9lm97w78alllrgfjgihb46irf"))))))))))))
     (native-inputs
      (modify-inputs (package-native-inputs git-minimal)
        ;; For subtree documentation.

base-commit: 507fc8d3e34b87f94a13a38fe259f1ae5abe8493
-- 
2.49.0