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

Function commit_pager_choice

git.c:126–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126static void commit_pager_choice(void)
127{
128 switch (use_pager) {
129 case 0:
130 setenv("GIT_PAGER", "cat", 1);
131 break;
132 case 1:
133 setup_pager(the_repository);
134 break;
135 default:
136 break;
137 }
138}
139
140void setup_auto_pager(const char *cmd, int def)
141{

Callers 6

setup_auto_pagerFunction · 0.85
handle_aliasFunction · 0.85
run_builtinFunction · 0.85
execv_dashed_externalFunction · 0.85
run_argvFunction · 0.85
cmd_mainFunction · 0.85

Calls 1

setup_pagerFunction · 0.85

Tested by

no test coverage detected