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

Function diff_flush_patch_id

diff.c:6993–7001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6991}
6992
6993int diff_flush_patch_id(struct diff_options *options, struct object_id *oid, int diff_header_only)
6994{
6995 struct diff_queue_struct *q = &diff_queued_diff;
6996 int result = diff_get_patch_id(options, oid, diff_header_only);
6997
6998 diff_queue_clear(q);
6999
7000 return result;
7001}
7002
7003static int is_summary_empty(const struct diff_queue_struct *q)
7004{

Callers 1

commit_patch_idFunction · 0.85

Calls 2

diff_get_patch_idFunction · 0.85
diff_queue_clearFunction · 0.85

Tested by

no test coverage detected