Skip to content

Bump Git to 2.49.0 - #524

Merged
niik merged 9 commits into
masterfrom
git-2.49.0
May 19, 2025
Merged

niik merged 9 commits into
masterfrom
git-2.49.0

Conversation

@niik

@niik niik commented May 15, 2025 •

Copy link
Copy Markdown
Member

2.49.0 is the latest version of Git but I spoke with @dscho and it seems there are no bugs of concern so let's go for it.

@niik
niik requested review from sergiou87 and tidy-dev May 15, 2025 10:44
niik added 8 commits May 15, 2025 14:38
Modified the objdump command in script/build-ubuntu.sh to include the -p flag for more detailed output. This change ensures better inspection of the git-remote-http binary during the build process.
Comment thread script/build-ubuntu.sh
Comment on lines -69 to -82
echo " -- Building vanilla curl at $CURL_INSTALL_DIR instead of distro-specific version"

CURL_FILE_NAME="curl-7.61.1"
CURL_FILE="$CURL_FILE_NAME.tar.gz"

cd /tmp || exit 1
curl -LO "https://curl.haxx.se/download/$CURL_FILE"
tar -xf $CURL_FILE

(
cd $CURL_FILE_NAME || exit 1
./configure --prefix="$CURL_INSTALL_DIR" "$HOST" "$TARGET"
make install
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread script/build-ubuntu.sh Outdated
Comment on lines +84 to +85
objdump -p "$DESTINATION/libexec/git-core/git-remote-http"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a leftover?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sure is!

@niik
niik requested a review from sergiou87 May 19, 2025 08:58
@niik
niik merged commit c64f13f into master May 19, 2025
@niik
niik deleted the git-2.49.0 branch May 19, 2025 11:45
sergiou87 pushed a commit that referenced this pull request Aug 6, 2026
Fixes #527.

CI installed libcurl4-gnutls-dev, so git-remote-https ended up with a
NEEDED entry for libcurl-gnutls.so.4 — a Debian/Ubuntu-only SONAME that
is absent on Fedora/RHEL/CentOS, breaking HTTPS clone/fetch there.

Switch the build dependency to libcurl4-openssl-dev across all four
arches so the binary links against the standard libcurl.so.4 SONAME,
which is present on all mainstream distros. This restores the behaviour
PR #102 provided (by building curl from source against OpenSSL) that was
dropped in c64f13f (PR #524), without reintroducing the from-source
build.

Also drop the now-unused CURL_INSTALL_DIR plumbing left behind by that
change.

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants