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:
4c6b067
)
Revert "GitRepository/add_remote_repo: fix the 'tags' argument"
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Wed, 2 Apr 2014 06:48:11 +0000
(09:48 +0300)
committer
Guido Günther
<agx@sigxcpu.org>
Wed, 2 Apr 2014 14:54:59 +0000
(16:54 +0200)
Which caused an unwanted behavior of not fetching refs/heads at all --
only tags were fetched.
This reverts commit
5dd598fb8f2a9109189fad6cf631811f12ce2130
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
9f51d98
..
10b9030
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_
cond(tags, '--tags'
, '--no-tags')
+ args.add_
false(tags
, '--no-tags')
args.add_true(fetch, '--fetch')
args.add(name, url)
self._git_command("remote", args.args)