From 57d465bbb1292df3ea94e66039766ffadb4f9b47 Mon Sep 17 00:00:00 2001 From: Zhang Qiang Date: Tue, 7 Aug 2012 15:44:42 +0800 Subject: [PATCH] dont need check local branch name in changelog module gbs changelog is just used to generate changelog, so it should work on any branch. --- gitbuildsys/cmd_changelog.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gitbuildsys/cmd_changelog.py b/gitbuildsys/cmd_changelog.py index 178087e..b7e8621 100644 --- a/gitbuildsys/cmd_changelog.py +++ b/gitbuildsys/cmd_changelog.py @@ -87,8 +87,6 @@ def do(opts, _args): try: repo = RpmGitRepository('.') - if repo.get_branch() is None: - msger.error('currently not on a branch') except GitRepositoryError, err: msger.error(str(err)) -- 2.7.4