[devscripts] 02/04: git-deborig: Replace --format in spawn

Sean Whitton spw-guest at moszumanska.debian.org
Fri Jan 6 17:15:55 UTC 2017


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

spw-guest pushed a commit to branch master
in repository devscripts.

commit 02cee8bf46afc52f4e0c90a8344a6a452592f032
Author: Sean Whitton <spwhitton at spwhitton.name>
Date:   Fri Jan 6 09:53:56 2017 -0700

    git-deborig: Replace --format in spawn
    
    --format can be only 'tar' or 'zip'
    
    Signed-off-by: Sean Whitton <spwhitton at spwhitton.name>
---
 scripts/git-deborig.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/git-deborig.pl b/scripts/git-deborig.pl
index 6e52540..112840b 100755
--- a/scripts/git-deborig.pl
+++ b/scripts/git-deborig.pl
@@ -172,7 +172,7 @@ sub archive_tag {
 
     spawn(exec => ['git', '-c', "tar.tar.${compression}.command=${compressor}",
                    'archive', "--prefix=${source}-${upstream_version}/",
-                   '--format=xz', $tag],
+                   '-o', $orig, $tag],
           to_file => $orig,
           wait_child => 1,
           nocheck => 1);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list