Revert "git: Update to 2.42.0"

This reverts commit c57132e67a255baa5cccdf36c499add936985f57.

"git remote" and "git pull" segfault
This commit is contained in:
Christoph Reiter 2023-08-22 07:58:16 +02:00
parent 4362b8e64a
commit f067d58ce9
2 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Ray Donnelly <mingw.android@gmail.com>
pkgname=git
pkgver=2.42.0
pkgver=2.41.0
pkgrel=1
pkgdesc="The fast distributed version control system"
arch=('i686' 'x86_64')
@ -55,11 +55,11 @@ source=("${pkgname}-${pkgver}.tar.gz"::https://github.com/git/git/archive/v${pkg
git-2.8.2-Cygwin-Allow-DOS-paths.patch
git-tcsh-completion-fixes.patch
git-2.35.1-git-gui.patch)
sha256sums=('60c06eb7ce840903169ed4872224b2409dd8d8a518e9df847c6dc0ef10d35d99'
sha256sums=('4f0b74bbde2800b00d3a50a7f389bcf1d59f1265b6986c00048d8ba4892ab01a'
'32baa705d76789d82316a1325e61c9a261114eaa9814dca9c05683bf63069dea'
'9bc4da5022c5004c4c5b45417b25c6636ddf0ac338574a624c2c775d4394546d'
'336159815092f503e0254ebbbea2b637ffc09a36217c4c644167b86852568272'
'978d2311bad90f2711c2fed07a200820136d7677fe49a27e45ddaf36767e3e6a'
'425d5b05b0daca7298f38702c37153f31eb35afd30ac1dff19d2b53492058614'
'6f25aae9e92469d5e284dcf372e15ee0e57ff91531e691e7391f9bfb78f73626'
'080533696ee3105f3f311a1dc6d8ebe7bf386262cc265d34ef7e9cc4353a736d')

View File

@ -96,9 +96,9 @@
}
static int pathspec_item_cmp(const void *a_, const void *b_)
--- git-2.42.0/abspath.c.orig 2023-08-21 18:34:58.000000000 +0200
+++ git-2.42.0/abspath.c 2023-08-21 22:49:45.990011100 +0200
@@ -292,6 +292,10 @@
--- a/strbuf.c
+++ b/strbuf.c
@@ -894,6 +894,10 @@ void strbuf_humanise_rate(struct strbuf *buf, off_t bytes)
void strbuf_add_absolute_path(struct strbuf *sb, const char *path)
{
@ -109,7 +109,7 @@
if (!*path)
die("The empty string is not a valid path");
if (!is_absolute_path(path)) {
@@ -313,6 +317,10 @@
@@ -915,6 +919,10 @@ void strbuf_add_absolute_path(struct strbuf *sb, const char *path)
free(cwd);
}
strbuf_addstr(sb, path);