diff options
author | Mike Hommey <mh@glandium.org> | 2007-11-16 23:02:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-17 00:57:05 -0800 |
commit | eb9d2b91cf12b92ab45855702965f3bc384462f9 (patch) | |
tree | 71386218abcb4db9a46e8316a66a4adf5ed84b84 /Documentation/RelNotes-1.5.4.txt | |
parent | 347989f4ea9f7ced91c482e4d77cc50ed31d2f50 (diff) | |
download | git-eb9d2b91cf12b92ab45855702965f3bc384462f9.tar.gz git-eb9d2b91cf12b92ab45855702965f3bc384462f9.tar.xz |
Fix and improve t7004 (git-tag tests)
Brown paper bag fix to avoid using non portable sed syntax. The
test by itself didn't catch what it was supposed to, anyways.
The new test first checks if git-tag correctly errors out when
the user exited the editor without editing the file. Then it
checks if what the user was presented in the editor was any
useful, which we define as the following:
* It begins with a single blank line, where the invoked editor
would typically place the editing curser at, so that the user
can immediately start typing;
* It has some instruction but that comes after that initial
blank line, all lines prefixed with "#". We specifically do
not check for the wording of this instruction.
* And it has nothing else, as the expected behaviour is "Hey
you did not leave any message".
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes-1.5.4.txt')
0 files changed, 0 insertions, 0 deletions