[devscripts] 01/01: git-deborig: Remove to_file option when calling spawn()
James McCoy
jamessan at debian.org
Sat Jan 7 04:39:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch master
in repository devscripts.
commit 6122126b63adc772229cf50d856032f28645a398
Author: James McCoy <jamessan at debian.org>
Date: Fri Jan 6 23:37:18 2017 -0500
git-deborig: Remove to_file option when calling spawn()
Now that git-archive is directly writing to the output file, there's no
need for spawn() to write to the file too.
Signed-off-by: James McCoy <jamessan at debian.org>
---
scripts/git-deborig.pl | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/git-deborig.pl b/scripts/git-deborig.pl
index 3db6b89..b1aea8a 100755
--- a/scripts/git-deborig.pl
+++ b/scripts/git-deborig.pl
@@ -174,7 +174,6 @@ sub archive_ref {
spawn(exec => ['git', '-c', "tar.tar.${compression}.command=${compressor}",
'archive', "--prefix=${source}-${upstream_version}/",
'-o', $orig, $ref],
- 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