summaryrefslogtreecommitdiff
path: root/git-import-orig
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2008-05-25 23:38:46 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-05-25 23:38:46 +0200
commite6dd31e3cacb03a767d831c87f465b576425c101 (patch)
treec22c7acd22f59318a9381d21d12e41354d33ada5 /git-import-orig
parentb8f3238f3b65cf353433d2f94637c815ab6359ef (diff)
downloadgit-buildpackage-e6dd31e3cacb03a767d831c87f465b576425c101.tar.gz
git-buildpackage-e6dd31e3cacb03a767d831c87f465b576425c101.tar.bz2
git-buildpackage-e6dd31e3cacb03a767d831c87f465b576425c101.zip
Help pristine-tar to find the branch name
Closes: #481806
Diffstat (limited to 'git-import-orig')
-rwxr-xr-xgit-import-orig2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-import-orig b/git-import-orig
index 17744f28..e540880d 100755
--- a/git-import-orig
+++ b/git-import-orig
@@ -203,7 +203,7 @@ on howto create it otherwise use --upstream-branch to specify it.
if options.pristine_tar:
upstream_branch = [ options.upstream_branch, 'master' ][is_empty]
if pristine_orig:
- gbpc.PristineTar().commit(pristine_orig, upstream_branch)
+ gbpc.PristineTar().commit(pristine_orig, 'refs/heads/%s' % upstream_branch)
else:
print >>sys.stderr, "Warning: '%s' not an archive, skipping pristine-tar" % archive
gbpc.GitTag(options.sign_tags, options.keyid)(build_tag(options.upstream_tag, version),