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

Function metadata_changes

apply.c:1980–1988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1978}
1979
1980static inline int metadata_changes(struct patch *patch)
1981{
1982 return patch->is_rename > 0 ||
1983 patch->is_copy > 0 ||
1984 patch->is_new > 0 ||
1985 patch->is_delete ||
1986 (patch->old_mode && patch->new_mode &&
1987 patch->old_mode != patch->new_mode);
1988}
1989
1990static char *inflate_it(const void *data, unsigned long size,
1991 unsigned long inflated_size)

Callers 1

parse_chunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected