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

Function diff_flags_or

diff.h:211–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209};
210
211static inline void diff_flags_or(struct diff_flags *a,
212 const struct diff_flags *b)
213{
214 char *tmp_a = (char *)a;
215 const char *tmp_b = (const char *)b;
216
217 for (size_t i = 0; i < sizeof(struct diff_flags); i++)
218 tmp_a[i] |= tmp_b[i];
219}
220
221#define DIFF_XDL_TST(opts, flag) ((opts)->xdl_opts & XDF_##flag)
222#define DIFF_XDL_SET(opts, flag) ((opts)->xdl_opts |= XDF_##flag)

Callers 1

index_differs_fromFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected