Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Git-Repository for
openSUSE:Factory checked in at 2026-06-09 14:26:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Git-Repository (Old)
and /work/SRC/openSUSE:Factory/.perl-Git-Repository.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Git-Repository"
Tue Jun 9 14:26:06 2026 rev:6 rq:1358068 version:1.326.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Git-Repository/perl-Git-Repository.changes
2023-03-25 18:56:33.119038918 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Git-Repository.new.2375/perl-Git-Repository.changes
2026-06-09 14:28:35.809150200 +0200
@@ -1,0 +2,22 @@
+Sun Jun 7 14:09:59 UTC 2026 - Tina Müller <[email protected]>
+
+- Remove 22.patch, git-2.30.0.patch, git-2.40.0.patch (fixed upstream)
+
+-------------------------------------------------------------------
+Mon Jan 19 05:54:05 UTC 2026 - Tina Müller <[email protected]>
+
+- updated to 1.326.0 (1.326)
+ see /usr/share/doc/packages/perl-Git-Repository/Changes
+
+ 1.326 2026-01-18 BOOK
+ [ENHANCEMENTS]
+ - Add input_record_separator option to Git::Repository::Command::new
(GNUSTAVO)
+ (Fix for RT #134239, GH #21)
+ - Use a proper temporary directory in t/05-try_git.t (PPISAR)
+ (Fix for GH #24)
+ - GIT_EDITOR fatal behaviour was likely never important (GREGOA, HAKONH)
+ (Fix for RT #155717, GH #23, GH #25)
+ - Workaround change of behaviour in git 2.38.1 (CVE-2022-39253) (JANPAZ)
+ (Fix for RT #144889, GH #22, GH #25)
+
+-------------------------------------------------------------------
Old:
----
22.patch
Git-Repository-1.325.tar.gz
git-2.30.0.patch
git-2.40.0.patch
New:
----
Git-Repository-1.326.tar.gz
README.md
_scmsync.obsinfo
build.specials.obscpio
----------(Old B)----------
Old:
- Remove 22.patch, git-2.30.0.patch, git-2.40.0.patch (fixed upstream)
Old:
- Remove 22.patch, git-2.30.0.patch, git-2.40.0.patch (fixed upstream)
Old:
- Remove 22.patch, git-2.30.0.patch, git-2.40.0.patch (fixed upstream)
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Git-Repository.spec ++++++
--- /var/tmp/diff_new_pack.OiOHb4/_old 2026-06-09 14:28:36.677186227 +0200
+++ /var/tmp/diff_new_pack.OiOHb4/_new 2026-06-09 14:28:36.677186227 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Git-Repository
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,29 +18,31 @@
%define cpan_name Git-Repository
Name: perl-Git-Repository
-Version: 1.325
+Version: 1.326.0
Release: 0
+# 1.326 -> normalize -> 1.326.0
+%define cpan_version 1.326
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl interface to Git repositories
URL: https://metacpan.org/release/%{cpan_name}
-Source0:
https://cpan.metacpan.org/authors/id/B/BO/BOOK/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/B/BO/BOOK/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
-# PATCH-FIX-UPSTREAM https://github.com/book/Git-Repository/pull/23
-Patch0: git-2.40.0.patch
-# PATCH-FIX-UPSTREAM https://github.com/book/Git-Repository/pull/22
-Patch1:
https://patch-diff.githubusercontent.com/raw/book/Git-Repository/pull/22.patch
-# PATCH-FIX-UPSTREAM
https://rt.cpan.org/Public/Ticket/Attachment/1923740/1029935
-Patch2:
https://salsa.debian.org/perl-team/modules/packages/libgit-repository-perl/-/raw/c5e0eca06ca27fdaa547634b1e49f4637e7c1ca6/debian/patches/git-2.30.0.patch
+Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Git::Version::Compare) >= 1.001
+BuildRequires: perl(Git::Version::Compare) >= 1.1
BuildRequires: perl(System::Command) >= 1.118
-BuildRequires: perl(Test::Requires::Git) >= 1.005
+BuildRequires: perl(Test::Requires::Git) >= 1.5
BuildRequires: perl(namespace::clean)
-Requires: perl(Git::Version::Compare) >= 1.001
+Requires: perl(Git::Version::Compare) >= 1.1
Requires: perl(System::Command) >= 1.118
Requires: perl(namespace::clean)
+Provides: perl(Git::Repository) = %{version}
+Provides: perl(Git::Repository::Command) = %{version}
+Provides: perl(Git::Repository::Plugin) = %{version}
+Provides: perl(Test::Git) = %{version}
+%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
BuildRequires: git-core
@@ -73,9 +75,9 @@
See Git::Repository::Tutorial for more code examples.
%prep
-%autosetup -n %{cpan_name}-%{version} -p1
+%autosetup -n %{cpan_name}-%{cpan_version} -p1
-find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod
644
%build
perl Makefile.PL INSTALLDIRS=vendor
++++++ Git-Repository-1.325.tar.gz -> Git-Repository-1.326.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/Changes
new/Git-Repository-1.326/Changes
--- old/Git-Repository-1.325/Changes 2021-06-01 01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/Changes 2026-01-18 15:11:18.000000000 +0100
@@ -1,5 +1,16 @@
Revision history for Git-Repository
+1.326 2026-01-18 BOOK
+ [ENHANCEMENTS]
+ - Add input_record_separator option to Git::Repository::Command::new
(GNUSTAVO)
+ (Fix for RT #134239, GH #21)
+ - Use a proper temporary directory in t/05-try_git.t (PPISAR)
+ (Fix for GH #24)
+ - GIT_EDITOR fatal behaviour was likely never important (GREGOA, HAKONH)
+ (Fix for RT #155717, GH #23, GH #25)
+ - Workaround change of behaviour in git 2.38.1 (CVE-2022-39253) (JANPAZ)
+ (Fix for RT #144889, GH #22, GH #25)
+
1.325 2021-06-01 BOOK
[ENHANCEMENTS]
- Prevent Test::Git from clobbering its arguments in some cases
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/LICENSE
new/Git-Repository-1.326/LICENSE
--- old/Git-Repository-1.325/LICENSE 2021-06-01 01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/LICENSE 2026-01-18 15:11:18.000000000 +0100
@@ -1,4 +1,4 @@
-This software is copyright (c) 2021 by Philippe Bruhat (BooK).
+This software is copyright (c) 2026 by Philippe Bruhat (BooK).
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2021 by Philippe Bruhat (BooK).
+This software is Copyright (c) 2026 by Philippe Bruhat (BooK).
This is free software, licensed under:
@@ -272,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2021 by Philippe Bruhat (BooK).
+This software is Copyright (c) 2026 by Philippe Bruhat (BooK).
This is free software, licensed under:
@@ -292,21 +292,21 @@
- "Package" refers to the collection of files distributed by the Copyright
Holder, and derivatives of that collection of files created through
- textual modification.
+ textual modification.
- "Standard Version" refers to such a Package if it has not been modified,
or has been modified in accordance with the wishes of the Copyright
- Holder.
+ Holder.
- "Copyright Holder" is whoever is named in the copyright or copyrights for
- the package.
+ the package.
- "You" is you, if you're thinking about copying or distributing this
Package.
- "Reasonable copying fee" is whatever you can justify on the basis of media
cost, duplication charges, time of people involved, and so on. (You will
not be required to justify it to the Copyright Holder, but only to the
- computing community at large as a market that must bear the fee.)
+ computing community at large as a market that must bear the fee.)
- "Freely Available" means that no fee is charged for the item itself, though
there may be fees involved in handling the item. It also means that
recipients of the item may redistribute it under the same conditions they
- received it.
+ received it.
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
@@ -373,7 +373,7 @@
9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
The End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/MANIFEST
new/Git-Repository-1.326/MANIFEST
--- old/Git-Repository-1.325/MANIFEST 2021-06-01 01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/MANIFEST 2026-01-18 15:11:18.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.032.
Changes
LICENSE
MANIFEST
@@ -34,9 +34,9 @@
t/Git/Repository/Plugin/Hello.pm
t/Git/Repository/Plugin/Hello2.pm
t/MyGit/Hello.pm
+t/author-distmeta.t
t/author-pod-coverage.t
t/author-pod-syntax.t
t/config
-t/release-distmeta.t
t/sudo.pl
t/test-all-git.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/META.json
new/Git-Repository-1.326/META.json
--- old/Git-Repository-1.325/META.json 2021-06-01 01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/META.json 2026-01-18 15:11:18.000000000 +0100
@@ -4,7 +4,7 @@
"Philippe Bruhat (BooK) <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version
2.150010",
+ "generated_by" : "Dist::Zilla version 6.032, CPAN::Meta::Converter version
2.150010",
"keywords" : [
"git",
"wrapper"
@@ -14,7 +14,7 @@
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Git-Repository",
"prereqs" : {
@@ -80,8 +80,10 @@
"web" : "https://github.com/book/Git-Repository"
}
},
- "version" : "1.325",
+ "version" : "1.326",
"x_contributors" : [
+ "Petr P\u00edsa\u0159 <[email protected]>",
+ "H\u00e5kon H\u00e6gland <[email protected]>",
"H.Merijn Brand <[email protected]>",
"Jan Pazdziora <[email protected]>",
"Ron Savage <[email protected]>",
@@ -109,7 +111,8 @@
"Alessandro Ghedini <[email protected]>",
"Gustavo Leite de Mendon\u00e7a Chaves <[email protected]>"
],
- "x_generated_by_perl" : "v5.28.1",
- "x_serialization_backend" : "JSON::XS version 3.04"
+ "x_generated_by_perl" : "v5.32.1",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.25",
+ "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/META.yml
new/Git-Repository-1.326/META.yml
--- old/Git-Repository-1.325/META.yml 2021-06-01 01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/META.yml 2026-01-18 15:11:18.000000000 +0100
@@ -16,7 +16,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version
2.150010'
+generated_by: 'Dist::Zilla version 6.032, CPAN::Meta::Converter version
2.150010'
keywords:
- git
- wrapper
@@ -44,8 +44,10 @@
resources:
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Git-Repository
repository: https://github.com/book/Git-Repository.git
-version: '1.325'
+version: '1.326'
x_contributors:
+ - 'Petr Písař <[email protected]>'
+ - 'Håkon Hægland <[email protected]>'
- 'H.Merijn Brand <[email protected]>'
- 'Jan Pazdziora <[email protected]>'
- 'Ron Savage <[email protected]>'
@@ -72,5 +74,6 @@
- 'Anton Berezin <[email protected]>'
- 'Alessandro Ghedini <[email protected]>'
- 'Gustavo Leite de Mendonça Chaves <[email protected]>'
-x_generated_by_perl: v5.28.1
+x_generated_by_perl: v5.32.1
x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/Makefile.PL
new/Git-Repository-1.326/Makefile.PL
--- old/Git-Repository-1.325/Makefile.PL 2021-06-01 01:00:09.000000000
+0200
+++ new/Git-Repository-1.326/Makefile.PL 2026-01-18 15:11:18.000000000
+0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.032.
use strict;
use warnings;
@@ -44,7 +44,7 @@
"lib" => 0,
"overload" => 0
},
- "VERSION" => "1.325",
+ "VERSION" => "1.326",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/dist.ini
new/Git-Repository-1.326/dist.ini
--- old/Git-Repository-1.325/dist.ini 2021-06-01 01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/dist.ini 2026-01-18 15:11:18.000000000 +0100
@@ -58,6 +58,8 @@
keywords = git wrapper
[Meta::Contributors]
+contributor = Petr Písař <[email protected]>
+contributor = Håkon Hægland <[email protected]>
contributor = H.Merijn Brand <[email protected]>
contributor = Jan Pazdziora <[email protected]>
contributor = Ron Savage <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/lib/Git/Repository/Command.pm
new/Git-Repository-1.326/lib/Git/Repository/Command.pm
--- old/Git-Repository-1.325/lib/Git/Repository/Command.pm 2021-06-01
01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/lib/Git/Repository/Command.pm 2026-01-18
15:11:18.000000000 +0100
@@ -1,5 +1,5 @@
package Git::Repository::Command;
-$Git::Repository::Command::VERSION = '1.325';
+$Git::Repository::Command::VERSION = '1.326';
use strict;
use warnings;
use 5.006;
@@ -174,9 +174,13 @@
my ($self, @cb) = @_;
# get output / errput
+ my $input_record_separator =
+ exists $self->options->{input_record_separator}
+ ? $self->options->{input_record_separator}
+ : "\n";
my ( @output, @errput );
$self->loop_on(
- input_record_separator => "\n",
+ input_record_separator => $input_record_separator,
stdout => sub { chomp( my $o = shift ); push @output, $o; },
stderr => sub { chomp( my $e = shift ); push @errput, $e; },
);
@@ -333,6 +337,20 @@
If true, methods such as C<final_output()> will not warn when Git outputs
messages on C<STDERR>.
+=item C<input_record_separator>
+
+A string which the C<$/> special variable is set to during the command
+execution.
+
+This is mostly useful when passing the C<-z> option to a Git command so that it
+output lines separated by the NUL character and you want to get it line by
line,
+like this:
+
+ my @files = $git->run(
+ qw/ls-tree -r --name-only -z HEAD/,
+ { input_record_separator => "\0" },
+ );
+
=back
If the L<Git::Repository> object has its own option hash, it will be used
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/lib/Git/Repository/Plugin.pm
new/Git-Repository-1.326/lib/Git/Repository/Plugin.pm
--- old/Git-Repository-1.325/lib/Git/Repository/Plugin.pm 2021-06-01
01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/lib/Git/Repository/Plugin.pm 2026-01-18
15:11:18.000000000 +0100
@@ -1,5 +1,5 @@
package Git::Repository::Plugin;
-$Git::Repository::Plugin::VERSION = '1.325';
+$Git::Repository::Plugin::VERSION = '1.326';
use strict;
use warnings;
use 5.006;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/lib/Git/Repository.pm
new/Git-Repository-1.326/lib/Git/Repository.pm
--- old/Git-Repository-1.325/lib/Git/Repository.pm 2021-06-01
01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/lib/Git/Repository.pm 2026-01-18
15:11:18.000000000 +0100
@@ -1,5 +1,5 @@
package Git::Repository;
-$Git::Repository::VERSION = '1.325';
+$Git::Repository::VERSION = '1.326';
use warnings;
use strict;
use 5.006;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/lib/Test/Git.pm
new/Git-Repository-1.326/lib/Test/Git.pm
--- old/Git-Repository-1.325/lib/Test/Git.pm 2021-06-01 01:00:09.000000000
+0200
+++ new/Git-Repository-1.326/lib/Test/Git.pm 2026-01-18 15:11:18.000000000
+0100
@@ -1,5 +1,5 @@
package Test::Git;
-$Test::Git::VERSION = '1.325';
+$Test::Git::VERSION = '1.326';
use strict;
use warnings;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/t/00-report-prereqs.t
new/Git-Repository-1.326/t/00-report-prereqs.t
--- old/Git-Repository-1.325/t/00-report-prereqs.t 2021-06-01
01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/t/00-report-prereqs.t 2026-01-18
15:11:18.000000000 +0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.027
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.029
use Test::More tests => 1;
@@ -109,20 +109,24 @@
my @reports = [qw/Module Want Have/];
for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) {
- next if $mod eq 'perl';
next if grep { $_ eq $mod } @exclude;
- my $file = $mod;
- $file =~ s{::}{/}g;
- $file .= ".pm";
- my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC;
-
my $want = $req_hash->{$phase}{$type}{$mod};
$want = "undef" unless defined $want;
$want = "any" if !$want && $want == 0;
+ if ($mod eq 'perl') {
+ push @reports, ['perl', $want, $]];
+ next;
+ }
+
my $req_string = $want eq 'any' ? 'any version required' :
"version '$want' required";
+ my $file = $mod;
+ $file =~ s{::}{/}g;
+ $file .= ".pm";
+ my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC;
+
if ($prefix) {
my $have = MM->parse_version( File::Spec->catfile($prefix,
$file) );
$have = "undef" unless defined $have;
@@ -188,6 +192,6 @@
);
}
-pass;
+pass('Reported prereqs');
# vim: ts=4 sts=4 sw=4 et:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/t/05-try_git.t
new/Git-Repository-1.326/t/05-try_git.t
--- old/Git-Repository-1.325/t/05-try_git.t 2021-06-01 01:00:09.000000000
+0200
+++ new/Git-Repository-1.326/t/05-try_git.t 2026-01-18 15:11:18.000000000
+0100
@@ -67,7 +67,7 @@
if !eval { symlink( '', '' ); 1 };
# a place to experiment
- my $dir = tempdir( DIR => 't', CLEANUP => 1 );
+ my $dir = tempdir( CLEANUP => 1 );
my $target = File::Spec->catfile( $dir, 'target' );
my $link = File::Spec->catfile( $dir, 'link' );
my $real = File::Spec->catfile( $dir, 'real' );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/t/20-simple.t
new/Git-Repository-1.326/t/20-simple.t
--- old/Git-Repository-1.325/t/20-simple.t 2021-06-01 01:00:09.000000000
+0200
+++ new/Git-Repository-1.326/t/20-simple.t 2026-01-18 15:11:18.000000000
+0100
@@ -85,6 +85,12 @@
skip "this test does not work with msysgit on Win32", 2
if $^O eq 'MSWin32';
+ # Thanks to @adelton and @gregora for the heads-up regarding change in
behavior of git var GIT_EDITOR
+ # Refer to: https://github.com/book/Git-Repository/pull/23
+ # for more information.
+ skip "'git var GIT_EDITOR' behaviour was changed in git 2.40.0, and we
have $version", 2
+ if Git::Repository->version_ge('2.40.0');
+
ok( !eval { $r->run( var => 'GIT_EDITOR' ); 1; }, 'git var GIT_EDITOR' );
like(
$@,
@@ -365,3 +371,10 @@
$tree = $r->run( mktree => { input => '' } );
is( $tree, '4b825dc642cb6eb9a060e54bf8d69288fbee4904', 'mktree empty tree' );
+# use ls-tree with input_record_separator option
+BEGIN { $tests += 1 }
+my @files = $r->run(
+ qw/ls-tree --name-only -z HEAD/,
+ { input_record_separator => "\0" },
+);
+ok( @files > 1, 'option input_record_separator in run() worked');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/t/21-submodule.t
new/Git-Repository-1.326/t/21-submodule.t
--- old/Git-Repository-1.325/t/21-submodule.t 2021-06-01 01:00:09.000000000
+0200
+++ new/Git-Repository-1.326/t/21-submodule.t 2026-01-18 15:11:18.000000000
+0100
@@ -43,7 +43,18 @@
# now test adding a submodule
my $r = test_repository(@init);
+
+# The "-c" option was introduced in 1.7.2,
+# but protocol.<name>.allow was added in 2.12.0,
+# and from that version protocol.file.allow defaulted to "always",
+# from 2.38.1 however, protocol.file.allow default behavior changed to "user"
+# For versions between 1.7.2 and 2.12.0, giving "-c
protocol.file.allow=always" option
+# is simply a no-op
+# Thanks to @ap for the heads-up: Refer to:
+# https://github.com/book/Git-Repository/pull/22#issuecomment-1404255657
+# for more information.
$r->run(
+ ( Git::Repository->version_ge('1.7.2') ? ('-c',
'protocol.file.allow=always') : ()),
submodule => add => $s->work_tree => 'sub',
{ env => { GIT_WORK_TREE => undef } }
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/t/author-distmeta.t
new/Git-Repository-1.326/t/author-distmeta.t
--- old/Git-Repository-1.325/t/author-distmeta.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Git-Repository-1.326/t/author-distmeta.t 2026-01-18
15:11:18.000000000 +0100
@@ -0,0 +1,15 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{AUTHOR_TESTING}) {
+ print qq{1..0 # SKIP these tests are for testing by the author\n};
+ exit
+ }
+}
+
+# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
+use strict;
+use warnings;
+use Test::CPAN::Meta;
+
+meta_yaml_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/t/author-pod-coverage.t
new/Git-Repository-1.326/t/author-pod-coverage.t
--- old/Git-Repository-1.325/t/author-pod-coverage.t 2021-06-01
01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/t/author-pod-coverage.t 2026-01-18
15:11:18.000000000 +0100
@@ -8,7 +8,8 @@
}
# This file was automatically generated by
Dist::Zilla::Plugin::PodCoverageTests.
-
+use strict;
+use warnings;
use Test::Pod::Coverage 1.08;
use Pod::Coverage::TrustPod;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Git-Repository-1.325/t/release-distmeta.t
new/Git-Repository-1.326/t/release-distmeta.t
--- old/Git-Repository-1.325/t/release-distmeta.t 2021-06-01
01:00:09.000000000 +0200
+++ new/Git-Repository-1.326/t/release-distmeta.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- print qq{1..0 # SKIP these tests are for release candidate testing\n};
- exit
- }
-}
-
-# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
-
-use Test::CPAN::Meta;
-
-meta_yaml_ok();
++++++ README.md ++++++
## Build Results
Current state of perl in openSUSE:Factory is

The current state of perl in the devel project build (devel:languages:perl)

++++++ _scmsync.obsinfo ++++++
mtime: 1780841450
commit: 5d83ba831a44cbff019cbb08707e461ba39ca8c5628fca582519b698ae1646df
url: https://src.opensuse.org/perl/perl-Git-Repository
revision: 5d83ba831a44cbff019cbb08707e461ba39ca8c5628fca582519b698ae1646df
projectscmsync: https://src.opensuse.org/perl/_ObsPrj
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-06-07 16:10:50.000000000 +0200
@@ -0,0 +1 @@
+.osc
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.OiOHb4/_old 2026-06-09 14:28:36.973198513 +0200
+++ /var/tmp/diff_new_pack.OiOHb4/_new 2026-06-09 14:28:36.977198679 +0200
@@ -4,10 +4,7 @@
#sources:
# - source1
# - source2
-patches:
-
https://salsa.debian.org/perl-team/modules/packages/libgit-repository-perl/-/raw/c5e0eca06ca27fdaa547634b1e49f4637e7c1ca6/debian/patches/git-2.30.0.patch:
-p1 PATCH-FIX-UPSTREAM
https://rt.cpan.org/Public/Ticket/Attachment/1923740/1029935
-
https://patch-diff.githubusercontent.com/raw/book/Git-Repository/pull/22.patch:
-p1 PATCH-FIX-UPSTREAM https://github.com/book/Git-Repository/pull/22
- git-2.40.0.patch: -p1 PATCH-FIX-UPSTREAM
https://github.com/book/Git-Repository/pull/23
+#patches:
preamble: |-
BuildRequires: git-core
#post_prep: |-