summaryrefslogtreecommitdiff
path: root/tests-clar/diff/diffiter.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-12-12 19:23:05 +0700
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-12-12 19:23:05 +0700
commit08f3d6caf4bc1e3695e04c85f1f7d3d0a4dd1554 (patch)
tree413c8e00d8b2a8c4267411fdf4c81cf6710492c6 /tests-clar/diff/diffiter.c
parent8d13035e0d99de80222ea9a2580de04692288007 (diff)
downloadlibgit2-08f3d6caf4bc1e3695e04c85f1f7d3d0a4dd1554.tar.gz
tree cache: loosen negative entry count check
While C Git has been writing entry count -1 (ie. never other negative numbers) as invalid since day 1, it accepts all negative entry counts as invalid. JGit follows the same rule. libgit2 should also follow, or the index that works with C Git or JGit may someday be rejected by libgit2. Other reimplementations like dulwich and grit have not bothered with parsing or writing tree cache.
Diffstat (limited to 'tests-clar/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions