summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-07-06 12:47:14 +0200
committernulltoken <emeric.fermas@gmail.com>2012-07-07 12:16:10 +0200
commit6a5136e5389034b696c9cd0292a760e78e975fd8 (patch)
tree478cfe68e0b1cd4b6bc5924528c5342fff2ea79f /include/git2/commit.h
parent29f72aa63844967cfd56d2edce804af243ef3ddd (diff)
downloadlibgit2-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