projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85e33e7
)
clone: set packaging branch after clone.
author
wanchao-xu
<wanchao.xu@samsung.com>
Fri, 26 Apr 2024 09:56:10 +0000
(17:56 +0800)
committer
wanchao-xu
<wanchao.xu@samsung.com>
Fri, 26 Apr 2024 09:56:10 +0000
(17:56 +0800)
Change-Id: I9f450e8d2740f7fc81cb6daa9419780b5a776689
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
gbp/scripts/clone.py
patch
|
blob
|
history
diff --git
a/gbp/scripts/clone.py
b/gbp/scripts/clone.py
index 9df98e07a784eb8c46fa8aa3f17a0d6197df0bea..7231c4af96172dad24a30053b46f46415428ef9f 100755
(executable)
--- a/
gbp/scripts/clone.py
+++ b/
gbp/scripts/clone.py
@@
-232,8
+232,7
@@
def main(argv):
not repo.has_branch(branch)):
repo.create_branch(branch, remote)
- if repo.has_branch(options.debian_branch, remote=True):
- repo.set_branch(options.packaging_branch)
+ repo.set_branch(options.packaging_branch)
repo_setup.set_user_name_and_email(options.repo_user, options.repo_email, repo)
if not options.defuse_gitattributes.is_off():