diff options
author | Ben Straub <bs@github.com> | 2012-11-30 16:31:42 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2012-11-30 16:31:42 -0800 |
commit | c7231c45fecf6c0ae91815a82db7e98c94689497 (patch) | |
tree | 33426a5463917d64b1f160f8083f3dfbd4217fe3 /src/stash.c | |
parent | 4ec197f3049d203739066e0c2d2c5c39f78fd808 (diff) | |
download | libgit2-c7231c45fecf6c0ae91815a82db7e98c94689497.tar.gz |
Deploy GITERR_CHECK_VERSION
Diffstat (limited to 'src/stash.c')
-rw-r--r-- | src/stash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stash.c b/src/stash.c index 67fa49838..14b48a595 100644 --- a/src/stash.c +++ b/src/stash.c @@ -523,8 +523,7 @@ int git_stash_save( assert(out && repo && stasher); - if (!git_signature__has_valid_version(stasher)) - return -1; + GITERR_CHECK_VERSION(stasher, GIT_SIGNATURE_VERSION, "git_signature"); if ((error = ensure_non_bare_repository(repo)) < 0) return error; |