Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-12-10 | Interactive editor tests for commit-msg hook | Wincent Colaiuta | 1 | -43/+175 | |
Supplement the existing tests for the commit-msg hook (which all use "git commit -m") with tests which use an interactive editor (no -m switch) to ensure that all code paths get tested. At the same time the quoting of some of the existing tests is changed to conform to Junio's recommendations for test style (single quotes used around the test unless there is a compelling reason not to, and the opening quote on the same line as the test_expect and the closing quote in column 1). 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/+88 | |
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> |