]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Sync with 2.34.8
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 11 Mar 2023 19:58:19 +0000 (20:58 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 17 Apr 2023 19:15:59 +0000 (21:15 +0200)
* maint-2.34: (28 commits)
  Git 2.34.8
  Git 2.33.8
  Git 2.32.7
  Git 2.31.8
  tests: avoid using `test_i18ncmp`
  Git 2.30.9
  gettext: avoid using gettext if the locale dir is not present
  apply --reject: overwrite existing `.rej` symlink if it exists
  http.c: clear the 'finished' member once we are done with it
  clone.c: avoid "exceeds maximum object size" error with GCC v12.x
  range-diff: use ssize_t for parsed "len" in read_patches()
  range-diff: handle unterminated lines in read_patches()
  range-diff: drop useless "offset" variable from read_patches()
  t5604: GETTEXT_POISON fix, conclusion
  t5604: GETTEXT_POISON fix, part 1
  t5619: GETTEXT_POISON fix
  t0003: GETTEXT_POISON fix, conclusion
  t0003: GETTEXT_POISON fix, part 1
  t0033: GETTEXT_POISON fix
  http: support CURLOPT_PROTOCOLS_STR
  http: prefer CURLOPT_SEEKFUNCTION to CURLOPT_IOCTLFUNCTION
  ...

1  2 
.github/workflows/main.yml
apply.c
ci/install-dependencies.sh
ci/lib.sh
config.c
dir.c
http.c
t/t1300-config.sh
t/t4115-apply-symlink.sh

index c35200defb9357b6438ba3391bb4e17fed67acdc,a9a3830425370468297459589a94c77a59b9b0df..352772e60702b257d1672a93a46ff1934b41b316
@@@ -225,19 -219,9 +225,19 @@@ jobs
            - jobname: linux-clang
              cc: clang
              pool: ubuntu-latest
 +          - jobname: linux-sha256
 +            cc: clang
 +            os: ubuntu
 +            pool: ubuntu-latest
            - jobname: linux-gcc
              cc: gcc
-             pool: ubuntu-latest
 +            cc_package: gcc-8
-             pool: ubuntu-latest
++            pool: ubuntu-20.04
 +          - jobname: linux-TEST-vars
 +            cc: gcc
 +            os: ubuntu
 +            cc_package: gcc-8
+             pool: ubuntu-20.04
            - jobname: osx-clang
              cc: clang
              pool: macos-latest
diff --cc apply.c
Simple merge
index dbcebad2fb293303f9271850094a29c3a249bda6,e6e283e3233d80a493a71a801b2f14f861b06bba..df6c61713cc6771ddabc9ab7d425e4dab161feda
@@@ -11,11 -11,18 +11,11 @@@ UBUNTU_COMMON_PKGS="make libssl-dev lib
   tcl tk gettext zlib1g-dev perl-modules liberror-perl libauthen-sasl-perl
   libemail-valid-perl libio-socket-ssl-perl libnet-smtp-ssl-perl"
  
 -case "$jobname" in
 -linux-clang|linux-gcc|linux-leaks)
 -      sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
 +case "$runs_on_pool" in
- ubuntu-latest)
++ubuntu-*)
        sudo apt-get -q update
        sudo apt-get -q -y install language-pack-is libsvn-perl apache2 \
-               $UBUNTU_COMMON_PKGS $CC_PACKAGE
+               $UBUNTU_COMMON_PKGS $PYTHON_PACKAGE
 -      case "$jobname" in
 -      linux-gcc)
 -              sudo apt-get -q -y install gcc-8
 -              ;;
 -      esac
 -
        mkdir --parents "$P4_PATH"
        pushd "$P4_PATH"
                wget --quiet "$P4WHENCE/bin.linux26x86_64/p4d"
@@@ -37,24 -44,24 +37,26 @@@ macos-latest
        test -z "$BREW_INSTALL_PACKAGES" ||
        brew install $BREW_INSTALL_PACKAGES
        brew link --force gettext
-       brew install --cask --no-quarantine perforce || {
-               # Update the definitions and try again
-               cask_repo="$(brew --repository)"/Library/Taps/homebrew/homebrew-cask &&
-               git -C "$cask_repo" pull --no-stat --ff-only &&
-               brew install --cask --no-quarantine perforce
-       } ||
-       brew install homebrew/cask/perforce
+       mkdir -p $HOME/bin
+       (
+               cd $HOME/bin
+               wget -q "$P4WHENCE/bin.macosx1015x86_64/helix-core-server.tgz" &&
+               tar -xf helix-core-server.tgz &&
+               sudo xattr -d com.apple.quarantine p4 p4d 2>/dev/null || true
+       )
+       PATH="$PATH:${HOME}/bin"
+       export PATH
 -      case "$jobname" in
 -      osx-gcc)
 -              brew install gcc@9
 -              # Just in case the image is updated to contain gcc@9
 -              # pre-installed but not linked.
 -              brew link gcc@9
 -              ;;
 -      esac
 +
 +      if test -n "$CC_PACKAGE"
 +      then
 +              BREW_PACKAGE=${CC_PACKAGE/-/@}
 +              brew install "$BREW_PACKAGE"
 +              brew link "$BREW_PACKAGE"
 +      fi
        ;;
 +esac
 +
 +case "$jobname" in
  StaticAnalysis)
        sudo apt-get -q update
        sudo apt-get -q -y install coccinelle libcurl4-openssl-dev libssl-dev \
diff --cc ci/lib.sh
index 9d28ab50fb4462a1b064e8c89cd5f13518fd86cd,bbc19028d80030a4a88127840436d2b2fa4699e6..5e01a927f105b450412c346590cf07eaa4f07578
+++ b/ci/lib.sh
@@@ -156,19 -182,15 +156,19 @@@ export DEFAULT_TEST_TARGET=prov
  export GIT_TEST_CLONE_2GB=true
  export SKIP_DASHED_BUILT_INS=YesPlease
  
 -case "$jobname" in
 -linux-clang|linux-gcc|linux-leaks)
 +case "$runs_on_pool" in
- ubuntu-latest)
++ubuntu-*)
 +      if test "$jobname" = "linux-gcc-default"
 +      then
 +              break
 +      fi
 +
+       PYTHON_PACKAGE=python2
        if [ "$jobname" = linux-gcc ]
        then
-               MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=/usr/bin/python3"
-       else
-               MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=/usr/bin/python2"
 -              export CC=gcc-8
+               PYTHON_PACKAGE=python3
        fi
+       MAKEFLAGS="$MAKEFLAGS PYTHON_PATH=/usr/bin/$PYTHON_PACKAGE"
  
        export GIT_TEST_HTTPD=true
  
diff --cc config.c
Simple merge
diff --cc dir.c
Simple merge
diff --cc http.c
Simple merge
Simple merge
Simple merge