# HG changeset patch # User Marcin Kuzminski # Date 2012-03-02 19:20:42 # Node ID a9f2aa1e15e659a0439a492d9bf9b812d48f2540 # Parent 382df4e69dfcde6e28dec6d02287c3c5a2728820 bring back cs id for node history in git as it improves performance. Adding format prevents from crashes of modified gitconfigs diff --git a/rhodecode/lib/vcs/backends/git/changeset.py b/rhodecode/lib/vcs/backends/git/changeset.py --- 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)