diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2013-03-21 23:56:17 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2013-03-21 23:56:17 +0100 |
commit | cc92f0eb6d480d92a85f6519470f0532c4f09607 (patch) | |
tree | d5a766ddd5e85c581bab262b41107ba9fbc30920 /rhodecode/lib/vcs/backends/git/changeset.py | |
parent | d5f255133788f570cecf896f8da3b961c39474a2 (diff) |
made git refs filter configurable ref issue #797
- default --all was kept and --branches --tags (or even other variations) is possible to use via .ini file
--HG--
branch : beta
extra : amend_source : 346f508bedca66f0376d1f97313496560b3fd52d
Diffstat (limited to 'rhodecode/lib/vcs/backends/git/changeset.py')
-rw-r--r-- | rhodecode/lib/vcs/backends/git/changeset.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rhodecode/lib/vcs/backends/git/changeset.py b/rhodecode/lib/vcs/backends/git/changeset.py index ed78c91b..cf76ae5d 100644 --- a/rhodecode/lib/vcs/backends/git/changeset.py +++ b/rhodecode/lib/vcs/backends/git/changeset.py @@ -187,8 +187,10 @@ class GitChangeset(BaseChangeset): """ Returns list of children changesets. """ + rev_filter = _git_path = rhodecode.CONFIG.get('git_rev_filter', + '--all').strip() so, se = self.repository.run_git_command( - "rev-list --all --children | grep '^%s'" % self.raw_id + "rev-list %s --children | grep '^%s'" % (rev_filter, self.raw_id) ) children = [] |