Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
static 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
53
static char *default_branch(int ident_flag UNUSED)
54
{
Callers
nothing calls this directly
Calls
2
git_pager
Function · 0.85
xstrdup
Function · 0.85
Tested by
no test coverage detected