diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-07-06 12:47:14 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-07-07 12:16:10 +0200 |
commit | 6a5136e5389034b696c9cd0292a760e78e975fd8 (patch) | |
tree | 478cfe68e0b1cd4b6bc5924528c5342fff2ea79f /include/git2/commit.h | |
parent | 29f72aa63844967cfd56d2edce804af243ef3ddd (diff) | |
download | libgit2-6a5136e5389034b696c9cd0292a760e78e975fd8.tar.gz |
revparse: only allow decimal reflog ordinal specs
passing 0 to git_strol(32|64) let the implementation guess if it's
dealing with an octal number or a decimal one.
Let's make it safe and ensure that both 'HEAD@{010}' and 'HEAD@{10}'
point at the same commit.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions