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:
d8f55da
)
GitRepository/add_remote_repo: fix the 'tags' argument
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Thu, 12 Dec 2013 22:43:59 +0000
(
00:43
+0200)
committer
Guido Günther
<agx@sigxcpu.org>
Thu, 27 Mar 2014 19:30:37 +0000
(20:30 +0100)
Explicitly use --tags in git arguments - otherwise tags might not be
fetched.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/git/repository.py
patch
|
blob
|
history
diff --git
a/gbp/git/repository.py
b/gbp/git/repository.py
index 10b903088fd844d45ec9f842f511b3259dfc18fb..9f51d9868d11a0a02424ef1ae9bd02add6b670c7 100644
(file)
--- a/
gbp/git/repository.py
+++ b/
gbp/git/repository.py
@@
-1093,7
+1093,7
@@
class GitRepository(object):
@type fetch: C{bool}
"""
args = GitArgs('add')
- args.add_
false(tags
, '--no-tags')
+ args.add_
cond(tags, '--tags'
, '--no-tags')
args.add_true(fetch, '--fetch')
args.add(name, url)
self._git_command("remote", args.args)