launch_editor(): read the file, even when EDITOR=:
commite97c9ad96b60d51b0b3852aaaff146015d01cb62
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 8 Nov 2007 14:06:52 +0000 (8 14:06 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Nov 2007 01:05:02 +0000 (22 17:05 -0800)
treeea89e1bbea0b444ab45c5859beb13016aa082882
parentf5bbc3225c4b073a7ff3218164a0c820299bc9c6
launch_editor(): read the file, even when EDITOR=:

Earlier we just returned in case EDITOR=: but the message stored
in the file was not read back.  Fix this, at the same time
simplifying the code as suggested by Johannes Sixt.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-tag.c