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

Function process_ls_ref

http-push.c:1059–1068  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1057}
1058
1059static void process_ls_ref(struct remote_ls_ctx *ls)
1060{
1061 if (!strcmp(ls->path, ls->dentry_name) && (ls->dentry_flags & IS_DIR)) {
1062 fprintf(stderr, " %s\n", ls->dentry_name);
1063 return;
1064 }
1065
1066 if (!(ls->dentry_flags & IS_DIR))
1067 one_remote_ref(ls->dentry_name);
1068}
1069
1070static void handle_remote_ls_ctx(struct xml_ctx *ctx, int tag_closed)
1071{

Callers

nothing calls this directly

Calls 1

one_remote_refFunction · 0.85

Tested by

no test coverage detected