summaryrefslogtreecommitdiff
path: root/gbp/git.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-24 21:26:25 +0200
committerGuido Günther <agx@sigxcpu.org>2011-10-26 09:45:10 +0200
commit55d20749f56b8ec54cc80077529b0f41d5dd7e8c (patch)
treef20e7ba8564c4a1c32c43d75839e1bb31065cc58 /gbp/git.py
parenta3f6142c5a49f7dcf724b2fb2e022fe2507f71eb (diff)
Fix GitRepository.is_clean() docs
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]