diff --git a/docs/changelog.rst b/docs/changelog.rst --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,7 +4,7 @@ Changelog ========= -1.3.1 (**2012-XX-XX**) +1.3.2 (**2012-XX-XX**) ---------------------- :status: in-progress @@ -18,6 +18,20 @@ fixes +++++ +1.3.1 (**2012-02-27**) +---------------------- + +news +++++ + + +fixes ++++++ + +- redirection loop occurs when remember-me wasn't checked during login +- fixes issues with git blob history generation +- don't fetch branch for git in file history dropdown. Causes unneeded slowness + 1.3.0 (**2012-02-26**) ---------------------- 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 @@ -246,8 +246,9 @@ class GitChangeset(BaseChangeset): which is generally not good. Should be replaced with algorithm iterating commits. """ - cmd = 'log --name-status -p %s -- "%s" | grep "^commit"' \ - % (self.id, path) + cmd = 'log --pretty="format: %%H" --name-status -p %s -- "%s"' % ( + '', path + ) so, se = self.repository.run_git_command(cmd) ids = re.findall(r'\w{40}', so) return [self.repository.get_changeset(id) for id in ids] diff --git a/rhodecode/lib/vcs/backends/git/repository.py b/rhodecode/lib/vcs/backends/git/repository.py --- a/rhodecode/lib/vcs/backends/git/repository.py +++ b/rhodecode/lib/vcs/backends/git/repository.py @@ -242,8 +242,7 @@ class GitRepository(BaseRepository): sortkey = lambda ctx: ctx[0] _branches = [('/'.join(ref.split('/')[2:]), head) for ref, head in refs.items() - if ref.startswith('refs/heads/') or - ref.startswith('refs/remotes/') and not ref.endswith('/HEAD')] + if ref.startswith('refs/heads/') and not ref.endswith('/HEAD')] return OrderedDict(sorted(_branches, key=sortkey, reverse=False)) def _get_tags(self):