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

Function name_terminate

apply.c:437–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435#define TERM_TAB 2
436
437static int name_terminate(int c, int terminate)
438{
439 if (c == ' ' && !(terminate & TERM_SPACE))
440 return 0;
441 if (c == '\t' && !(terminate & TERM_TAB))
442 return 0;
443
444 return 1;
445}
446
447/* remove double slashes to make --index work with such filenames */
448static char *squash_slash(char *name)

Callers 1

find_name_commonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected