MCPcopy Index your code
hub / github.com/git/git / git_sequence_editor

Function git_sequence_editor

editor.c:48–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48const char *git_sequence_editor(void)
49{
50 const char *editor = getenv("GIT_SEQUENCE_EDITOR");
51
52 if (!editor)
53 repo_config_get_string_tmp(the_repository, "sequence.editor", &editor);
54 if (!editor)
55 editor = git_editor();
56
57 return editor;
58}
59
60static int launch_specified_editor(const char *editor, const char *path,
61 struct strbuf *buffer, const char *const *env)

Callers 2

launch_sequence_editorFunction · 0.85
sequence_editorFunction · 0.85

Calls 2

git_editorFunction · 0.85

Tested by

no test coverage detected