MCPcopy Index your code
hub / github.com/git/git / seen_squash

Function seen_squash

sequencer.c:1923–1927  ·  view source on GitHub ↗

Does the current fixup chain contain a squash command? */

Source from the content-addressed store, hash-verified

1921
1922/* Does the current fixup chain contain a squash command? */
1923static int seen_squash(struct replay_ctx *ctx)
1924{
1925 return starts_with(ctx->current_fixups.buf, "squash") ||
1926 strstr(ctx->current_fixups.buf, "\nsquash");
1927}
1928
1929static void update_comment_bufs(struct strbuf *buf1, struct strbuf *buf2, int n)
1930{

Callers 2

append_squash_messageFunction · 0.85
update_squash_messagesFunction · 0.85

Calls 1

starts_withFunction · 0.85

Tested by

no test coverage detected