summaryrefslogtreecommitdiff
path: root/gbp/deb/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/deb/git.py')
-rw-r--r--gbp/deb/git.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/gbp/deb/git.py b/gbp/deb/git.py
index 00970f6..f8cefed 100644
--- a/gbp/deb/git.py
+++ b/gbp/deb/git.py
@@ -24,10 +24,11 @@ class DebianGitRepository(GitRepository):
def find_version(self, format, version):
"""
- Check if a certain version is stored in this repo. Return it's SHA1 in
- this case. For legacy tags Don't check only the tag but also the
- message, since the former wasn't injective until recently.
- You only need to use this funciton if you also need to check for legacy
+ Check if a certain version is stored in this repo and return it's SHA1.
+
+ For legacy tags don't only check the tag itself but also the commit
+ message, since the former wasn't injective until release 0.5.5. You
+ only need to use this function if you also need to check for legacy
tags.
@param format: tag pattern