This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=572df6b70d31edf3f28cfaacf5d936e213782ea5

commit 572df6b70d31edf3f28cfaacf5d936e213782ea5
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Mar 16 01:17:18 2022 +0100

    Dpkg::Source::Package::V3::Git: Name bundle remote as bundle
    
    This makes it clear what this remote is about, and leaves room to add a
    proper origin remote.
---
 scripts/Dpkg/Source/Package/V3/Git.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Dpkg/Source/Package/V3/Git.pm 
b/scripts/Dpkg/Source/Package/V3/Git.pm
index a915807b0..7f4be3f54 100644
--- a/scripts/Dpkg/Source/Package/V3/Git.pm
+++ b/scripts/Dpkg/Source/Package/V3/Git.pm
@@ -240,7 +240,7 @@ sub do_extract {
 
     # Extract git bundle.
     info(g_('cloning %s'), $bundle);
-    system('git', 'clone', '--quiet', $dscdir . $bundle, $newdirectory);
+    system('git', 'clone', '--quiet', '--origin=bundle', $dscdir . $bundle, 
$newdirectory);
     subprocerr('git bundle') if $?;
 
     if (defined $shallow) {

-- 
Dpkg.Org's dpkg

Reply via email to