From b060993afec218c8b2e08367f98b10b2fa824309 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 14 Jun 2013 12:58:39 +0200 Subject: [PATCH] Use HEAD as default reference for git archive. The default branch may be undefined. --- tools/check_dist_archive | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/check_dist_archive b/tools/check_dist_archive index 53b1d1f4af..d2821499b8 100755 --- a/tools/check_dist_archive +++ b/tools/check_dist_archive @@ -13,7 +13,7 @@ fi if [ $# -lt 1 -o $# -gt 3 ]; then cat < $git_dir" -git archive --format=tar --prefix="b/" --remote="$giturl" "$gitbranch" \ +echo "Copying git repository: $giturl/$gitref -> $git_dir" +git archive --format=tar --prefix="b/" --remote="$giturl" "$gitref" \ | tar --directory "$tmpdir" --extract --file - fa=from_tgz -- 2.20.1