author | Wincent Colaiuta <win@wincent.com> | |
Mon, 10 Dec 2007 07:33:26 +0000 (08:33 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 10 Dec 2007 08:05:52 +0000 (00:05 -0800) | ||
commit | 80f86605baaa37f962755ccd771eb879a9c43865 | |
tree | 1c3bc98af48b5521c1953a537fb24aefbb95e2f9 | tree | snapshot |
parent | 3d3c4f5d767b33cdaa7557ab009ab1194ff4a8a3 | commit | diff |
Interactive editor tests for commit-msg hook
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>
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>
t/t7504-commit-msg-hook.sh | diff | blob | history |