Michael Brouwer <michael@tlaloc.net>


r855418 | martinto | 2005-07-15 09:23:14 +0000 (Fri, 15 Jul 2005)

Fix a bug in the pre-commit hook script that is prevents case collisions,
which would allow a transaction to add 2 files which collide within a single

Patch by: Michael Brouwer <michael@tlaloc.net>

* contrib/hook-scripts/check-case-insensitive.pl
  (%newtree): New hash which tracks the case folded adds within the
  ($lcnewfile): New scalar to cache case folded version of the current file.
  (global scope): Add a check to see if the case folded current file is
                  already in the transaction.