From 55d20749f56b8ec54cc80077529b0f41d5dd7e8c Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 24 Oct 2011 21:26:25 +0200 Subject: Fix GitRepository.is_clean() docs --- gbp/git.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gbp/git.py') diff --git a/gbp/git.py b/gbp/git.py index d84114b..e1698a8 100644 --- a/gbp/git.py +++ b/gbp/git.py @@ -412,8 +412,9 @@ class GitRepository(object): """ Does the repository contain any uncommitted modifications? - @return: True if the repository is clean, False otherwise - @rtype: bool + @return: C{True} if the repository is clean, C{False} otherwise + and Git's status message + @rtype: tuple """ clean_msg = 'nothing to commit' out = self.__git_getoutput('status')[0] -- cgit v1.2.3