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

Function wt_status_append_cut_line

wt-status.c:1141–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1139}
1140
1141void wt_status_append_cut_line(struct strbuf *buf)
1142{
1143 const char *explanation = _("Do not modify or remove the line above.\nEverything below it will be ignored.");
1144
1145 strbuf_commented_addf(buf, comment_line_str, "%s", cut_line);
1146 strbuf_add_commented_lines(buf, explanation, strlen(explanation), comment_line_str);
1147}
1148
1149void wt_status_add_cut_line(struct wt_status *s)
1150{

Callers 3

append_conflicts_hintFunction · 0.85
wt_status_add_cut_lineFunction · 0.85
prepare_to_commitFunction · 0.85

Calls 2

strbuf_commented_addfFunction · 0.85

Tested by

no test coverage detected