diff options
author | Guido Günther <agx@sigxcpu.org> | 2010-08-18 18:02:40 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2010-08-18 18:05:15 +0200 |
commit | 74aa351ffe00c4e62b110dc208d1a20f78850dee (patch) | |
tree | 0ce5ac370a9f1a10114a0172f19f13b6ba366e45 | |
parent | cc557e7dddeffa0d844a1f1be1f00feebec92ac6 (diff) | |
download | git-buildpackage-74aa351ffe00c4e62b110dc208d1a20f78850dee.tar.gz git-buildpackage-74aa351ffe00c4e62b110dc208d1a20f78850dee.tar.bz2 git-buildpackage-74aa351ffe00c4e62b110dc208d1a20f78850dee.zip |
Use --pretty=format: instead of --format=
to support the git version in Lenny.
-rw-r--r-- | gbp/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -249,7 +249,7 @@ class GitRepository(object): def get_subject(self, commit): """Gets the subject of a commit""" self.__check_path() - out, ret = self.__git_getoutput('show', ['--format=%s', commit]) + out, ret = self.__git_getoutput('show', ['--pretty=format:%s', commit]) if ret: raise GitRepositoryError, "Error getting subject of commit %s" % commit return out[0].strip() |