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

Function remove_space

builtin/patch-id.c:19–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19static size_t remove_space(char *line)
20{
21 char *src = line;
22 char *dst = line;
23 unsigned char c;
24
25 while ((c = *src++) != '\0') {
26 if (!isspace(c))
27 *dst++ = c;
28 }
29 return dst - line;
30}
31
32static int scan_hunk_header(const char *p, int *p_before, int *p_after)
33{

Callers 1

get_one_patchidFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected