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

Function flush_current_id

builtin/patch-id.c:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11#include "setup.h"
12
13static void flush_current_id(size_t patchlen, struct object_id *id, struct object_id *result)
14{
15 if (patchlen)
16 printf("%s %s\n", oid_to_hex(result), oid_to_hex(id));
17}
18
19static size_t remove_space(char *line)
20{

Callers 1

generate_id_listFunction · 0.85

Calls 1

oid_to_hexFunction · 0.85

Tested by

no test coverage detected