This is an automated email from the git hooks/post-receive script. osamu pushed a commit to branch master in repository devscripts.
commit dabc3beae1e8586baf4f4bc7da82e7286c9f4b32 Author: Osamu Aoki <[email protected]> Date: Sun Nov 29 02:21:01 2015 +0900 Use bare git repo Since remote git repo has troble running git archive, clone it to a local git repo in the bare format. --- scripts/uscan.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/uscan.pl b/scripts/uscan.pl index 1d49b4c..11bc7f4 100755 --- a/scripts/uscan.pl +++ b/scripts/uscan.pl @@ -3275,9 +3275,9 @@ EOF my $ver = $2; my $suffix = $3; my ($gitrepo, $gitref) = split /[[:space:]]+/, $url, 2; - my $gitrepodir = "$pkg.uscan.$$"; - uscan_verbose "Execute: git clone $gitrepo ../$gitrepodir\n"; - system('git', 'clone', $gitrepo, "../$gitrepodir") == 0 or die("git clone failed\n"); + my $gitrepodir = "$pkg.$$.git"; + uscan_verbose "Execute: git clone --bare $gitrepo ../$gitrepodir\n"; + system('git', 'clone', '--bare', $gitrepo, "../$gitrepodir") == 0 or die("git clone failed\n"); chdir "../$gitrepodir" or die("Unable to chdir(\"../$gitrepodir\"): $!\n"); uscan_verbose "Execute: git archive --format=tar --prefix=$pkg-$ver/ --output=../$pkg-$ver.tar $gitref\n"; system('git', 'archive', '--format=tar', "--prefix=$pkg-$ver/", "--output=../$pkg-$ver.tar", $gitref); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
