MCPcopy Create free account
hub / github.com/git/git / pager

Function pager

builtin/var.c:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44static char *pager(int ident_flag UNUSED)
45{
46 const char *pgm = git_pager(the_repository, 1);
47
48 if (!pgm)
49 pgm = "cat";
50 return xstrdup(pgm);
51}
52
53static char *default_branch(int ident_flag UNUSED)
54{

Callers

nothing calls this directly

Calls 2

git_pagerFunction · 0.85
xstrdupFunction · 0.85

Tested by

no test coverage detected