diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-04-02 09:48:11 +0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-04-02 16:54:59 +0200 |
commit | a8cfd885b0133a09c023452e43303ca9003b1d25 (patch) | |
tree | 9c43fbdb9d346ed7d9e12a2f0a08043b6b474a72 /gbp/git | |
parent | 4c6b06773876a35f55f8f5667af65a917f823757 (diff) | |
download | git-buildpackage-a8cfd885b0133a09c023452e43303ca9003b1d25.tar.gz git-buildpackage-a8cfd885b0133a09c023452e43303ca9003b1d25.tar.bz2 git-buildpackage-a8cfd885b0133a09c023452e43303ca9003b1d25.zip |
Revert "GitRepository/add_remote_repo: fix the 'tags' argument"
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>
Diffstat (limited to 'gbp/git')
-rw-r--r-- | gbp/git/repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py index 9f51d986..10b90308 100644 --- 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) |