From e3a944601356fdcdc4e1902593cba43a55b6fd2c Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Fri, 16 Sep 2011 19:46:21 +0200 Subject: [PATCH] fix: use full refspec path --- debian_build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian_build.py b/debian_build.py index 1ca7070..81f1002 100755 --- a/debian_build.py +++ b/debian_build.py @@ -278,7 +278,9 @@ if __name__ == '__main__': # git-buildpackage uses only treeish object in v0.5.10, # let's fetch it correctly: - GIT_UPSTREAM_BRANCH = git_helper.git_get_treeish(GIT_UPSTREAM_BRANCH) + GIT_UPSTREAM_BRANCH = git_helper.git_get_treeish( + os.path.join('origin', GIT_UPSTREAM_BRANCH) + ) repo = git.repo.Repo() -- 2.39.5