From: Derrick Stolee Date: Mon, 20 Aug 2018 18:24:30 +0000 (+0000) Subject: commit-graph: not compatible with grafts X-Git-Tag: v2.19.2~53^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/20fd6d57996e33c30b6bb030329523d0116f15ec?ds=inline;hp=20fd6d57996e33c30b6bb030329523d0116f15ec commit-graph: not compatible with grafts Augment commit_graph_compatible(r) to return false when the given repository r has commit grafts or is a shallow clone. Test that in these situations we ignore existing commit-graph files and we do not write new commit-graph files. Helped-by: Jakub Narebski Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano ---