diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2007-07-20 13:06:09 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-21 16:51:14 -0700 |
commit | 4d87b9c5db2590f7616fedfc0a538fc78f528e14 (patch) | |
tree | e6422ae717c460cb0e53852507af05dec979328d /cache.h | |
parent | 62e09ce998dd7f6b844deb650101c743a5c4ce50 (diff) | |
download | git-4d87b9c5db2590f7616fedfc0a538fc78f528e14.tar.gz git-4d87b9c5db2590f7616fedfc0a538fc78f528e14.tar.xz |
launch_editor(): Heed GIT_EDITOR and core.editor settings
In the commit 'Add GIT_EDITOR environment and core.editor
configuration variables', this was done for the shell scripts.
Port it over to builtin-tag's version of launch_editor(), which
is just about to be refactored into editor.c.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -560,6 +560,8 @@ extern char *pager_program; extern int pager_in_use; extern int pager_use_color; +extern char *editor_program; + /* base85 */ int decode_85(char *dst, const char *line, int linelen); void encode_85(char *buf, const unsigned char *data, int bytes); |