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

Function reset_repository_shallow

shallow.c:97–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97static void reset_repository_shallow(struct repository *r)
98{
99 r->parsed_objects->is_shallow = -1;
100 stat_validity_clear(r->parsed_objects->shallow_stat);
101 parsed_object_pool_reset_commit_grafts(r->parsed_objects);
102}
103
104int commit_shallow_file(struct repository *r, struct shallow_lock *lk)
105{

Callers 2

commit_shallow_fileFunction · 0.85
rollback_shallow_fileFunction · 0.85

Calls 2

stat_validity_clearFunction · 0.85

Tested by

no test coverage detected