diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-29 02:45:21 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-29 02:45:21 +0100 |
commit | 8359fd512497cc33029f6f3c696e331a844229ab (patch) | |
tree | 34b4630352235f7f1f8e7786f301479fbd38b752 /tests | |
parent | 945c491a13e336fc6a42ddb85be688b1ca8b4b7b (diff) |
Tests: Allow t-commit caller to specify whole version
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -461,11 +461,11 @@ t-apply-diff () { t-commit () { local msg=$1 - v=1.$revision + v=${2-1.$revision} dch -v$v --distribution unstable "$1" git add debian/changelog debcommit - revision=$(( $revision + 1 )) + revision=$(( ${revision-0} + 1 )) } t-git-config () { |