author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Thu, 8 Nov 2007 14:06:52 +0000 (14:06 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 23 Nov 2007 01:05:02 +0000 (17:05 -0800) | ||
commit | e97c9ad96b60d51b0b3852aaaff146015d01cb62 | |
tree | ea89e1bbea0b444ab45c5859beb13016aa082882 | tree | snapshot |
parent | f5bbc3225c4b073a7ff3218164a0c820299bc9c6 | commit | diff |
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>
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 | diff | blob | history |