diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-12-27 19:48:29 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-12-27 19:49:49 +0100 |
commit | 95f46f09eab66acd7d29ef55b855378ab87c56a8 (patch) | |
tree | 2a591109c5e98590b96cd67f31804827eae86cd2 /gbp/deb | |
parent | 361449bb51deb7010701001b3dee0cbdaef746a5 (diff) |
gbp.deb.git.py: Fix typos and add version
Diffstat (limited to 'gbp/deb')
-rw-r--r-- | gbp/deb/git.py | 9 |
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 |