summaryrefslogtreecommitdiff
path: root/gbp/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/git.py')
-rw-r--r--gbp/git.py5
1 files changed, 3 insertions, 2 deletions
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]