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

Function pathsort

builtin/worktree.c:1071–1079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1069}
1070
1071static void pathsort(struct worktree **wt)
1072{
1073 int n = 0;
1074 struct worktree **p = wt;
1075
1076 while (*p++)
1077 n++;
1078 QSORT(wt, n, pathcmp);
1079}
1080
1081static int list(int ac, const char **av, const char *prefix,
1082 struct repository *repo UNUSED)

Callers 1

listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected