• Show log

    Commit

  • Hash : 08f3d6ca
    Author : Nguyễn Thái Ngọc Duy
    Date : 2012-12-12T19:23:05

    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.