summaryrefslogtreecommitdiff
path: root/tests-clar/diff/tree.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-07-12 13:20:29 +0200
committernulltoken <emeric.fermas@gmail.com>2012-07-12 22:30:02 +0200
commit5a6f31f28b58d93232b742f02ad0a6f64c0dfbb8 (patch)
tree1bf943b82cb90abbed5df51a02e7be62a329fe1e /tests-clar/diff/tree.c
parentd1b7921a48161cf6fe5bb85a5da4c0bdac3c0df7 (diff)
downloadlibgit2-5a6f31f28b58d93232b742f02ad0a6f64c0dfbb8.tar.gz
revparse: only allow decimal specifiers in carete and tilde synatx
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 'tests-clar/diff/tree.c')
0 files changed, 0 insertions, 0 deletions