Autopkgtests failing due to new git 2.45

Bug #2069304 reported by Danilo Egea Gondolfo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git (Ubuntu)
Fix Released
Undecided
Unassigned
gnulib (Ubuntu)
Fix Released
Undecided
Graham Inggs

Bug Description

The test is failing due to the message bellow being sent to stderr:

1491s autopkgtest [17:08:48]: test test-dh-gnulib-patch: -----------------------]
1491s test-dh-gnulib-patch FAIL stderr: hint: Using 'master' as the name for the initial branch. This default branch name
1491s autopkgtest [17:08:48]: test test-dh-gnulib-patch: - - - - - - - - - - results - - - - - - - - - -
1491s autopkgtest [17:08:48]: test test-dh-gnulib-patch: - - - - - - - - - - stderr - - - - - - - - - -
1491s hint: Using 'master' as the name for the initial branch. This default branch name
1491s hint: is subject to change. To configure the initial branch name to use in all
1491s hint: of your new repositories, which will suppress this warning, call:
1491s hint:
1491s hint: git config --global init.defaultBranch <name>
1491s hint:
1491s hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
1491s hint: 'development'. The just-created branch can be renamed via this command:
1491s hint:
1491s hint: git branch -m <name>
1491s autopkgtest [17:08:48]: @@@@@@@@@@@@@@@@@@@@ summary
1491s test-dh-gnulib-patch FAIL stderr: hint: Using 'master' as the name for the initial branch. This default branch name

Related branches

tags: added: update-excuse
Graham Inggs (ginggs)
Changed in gnulib (Ubuntu):
assignee: nobody → Graham Inggs (ginggs)
status: New → In Progress
Graham Inggs (ginggs)
Changed in gnulib (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnulib - 20240412~dfb7117+stable202401.20240408~aa0aa87-3ubuntu1

---------------
gnulib (20240412~dfb7117+stable202401.20240408~aa0aa87-3ubuntu1) oracular; urgency=medium

  * debian/tests/control:
    Add allow-stderr to Restrictions. Git 2.45 is emitting a message about
    the default branch name to stderr. This fixes the autopkgtest.
    (LP: #2069304)

 -- Danilo Egea Gondolfo <email address hidden> Thu, 13 Jun 2024 14:54:21 +0100

Changed in gnulib (Ubuntu):
status: Fix Committed → Fix Released
Changed in git (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.