[Bug 2069304] Re: Autopkgtests failing due to new git 2.45

Launchpad Bug Tracker 2069304 at bugs.launchpad.net
Mon Jun 17 19:05:17 UTC 2024


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 <danilo.egea.gondolfo at canonical.com>  Thu, 13
Jun 2024 14:54:21 +0100

** Changed in: gnulib (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/2069304

Title:
  Autopkgtests failing due to new git 2.45

Status in git package in Ubuntu:
  New
Status in gnulib package in Ubuntu:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/2069304/+subscriptions




More information about the foundations-bugs mailing list