editor             36 builtin/var.c  	{ "GIT_EDITOR", editor },
editor             12 editor.c       	const char *editor = getenv("GIT_EDITOR");
editor             16 editor.c       	if (!editor && editor_program)
editor             17 editor.c       		editor = editor_program;
editor             18 editor.c       	if (!editor && !terminal_is_dumb)
editor             19 editor.c       		editor = getenv("VISUAL");
editor             20 editor.c       	if (!editor)
editor             21 editor.c       		editor = getenv("EDITOR");
editor             23 editor.c       	if (!editor && terminal_is_dumb)
editor             26 editor.c       	if (!editor)
editor             27 editor.c       		editor = DEFAULT_EDITOR;
editor             29 editor.c       	return editor;
editor             34 editor.c       	const char *editor = git_editor();
editor             36 editor.c       	if (!editor)
editor             39 editor.c       	if (strcmp(editor, ":")) {
editor             40 editor.c       		const char *args[] = { editor, real_path(path), NULL };
editor             48 editor.c       			return error("unable to start editor '%s'", editor);
editor             60 editor.c       					editor);