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

Function hunk_comment_line

combine-diff.c:730–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730static int hunk_comment_line(const char *bol)
731{
732 int ch;
733
734 if (!bol)
735 return 0;
736 ch = *bol & 0xff;
737 return (isalpha(ch) || ch == '_' || ch == '$');
738}
739
740static void show_line_to_eol(const char *line, int len, const char *reset)
741{

Callers 1

dump_slineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected