aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/lib/vcs/backends/git/changeset.py
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-03-02 20:20:42 +0200
committerMarcin Kuzminski <marcin@python-works.com>2012-03-02 20:20:42 +0200
commit286810703f4a896a3c3a3a625d57ad273e36eecb (patch)
tree677c48c546cdd6c9b24f69823c52d2275565bc89 /rhodecode/lib/vcs/backends/git/changeset.py
parent4918a6074ce8a67c2b733b566ff5193d6cfe42a5 (diff)
bring back cs id for node history in git as it improves performance. Adding format prevents from crashes of modified gitconfigs
--HG-- branch : beta
Diffstat (limited to 'rhodecode/lib/vcs/backends/git/changeset.py')
-rw-r--r--rhodecode/lib/vcs/backends/git/changeset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/lib/vcs/backends/git/changeset.py b/rhodecode/lib/vcs/backends/git/changeset.py
index 020bd34b..33c46061 100644
--- a/rhodecode/lib/vcs/backends/git/changeset.py
+++ b/rhodecode/lib/vcs/backends/git/changeset.py
@@ -247,7 +247,7 @@ class GitChangeset(BaseChangeset):
iterating commits.
"""
cmd = 'log --pretty="format: %%H" --name-status -p %s -- "%s"' % (
- '', path
+ self.id, path
)
so, se = self.repository.run_git_command(cmd)
ids = re.findall(r'\w{40}', so)