Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-12-10 | Style fixes for pre-commit hook tests | Wincent Colaiuta | 1 | -33/+57 | |
As pointed out by Junio on the mailing list, surrounding tests in double quotes can lead to bugs wherein variables get substituted away, so this isn't just style churn but important to prevent others from looking at these tests in the future and thinking that this is "the way" that Git tests should be written. Signed-off-by: Wincent Colaiuta <win@wincent.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> | |||||
2007-12-09 | Add tests for pre-commit and commit-msg hooks | Wincent Colaiuta | 1 | -0/+64 | |
As desired, these pass for git-commit.sh, fail for builtin-commit (prior to the fixes), and succeeded for builtin-commit (after the fixes). Signed-off-by: Wincent Colaiuta <win@wincent.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |