Commit Diff


commit - 22220781541b833f3c7800592a6a4ed37dd18e1b
commit + a342f20d993be3c2a46b1440970ca7b52ec776f3
blob - fe7db47044990c77ff6e4ceb6916c33f4af8d336
blob + 81fcd46a670afd4d0f33f51b8d0ecec2ddb2db26
--- lib/commit_graph.c
+++ lib/commit_graph.c
@@ -536,13 +536,6 @@ got_commit_graph_iter_start(struct got_commit_graph *g
 	if (err)
 		goto done;
 
-	err = detect_changed_path(&changed, commit, &start_node->id,
-	    graph->path, repo);
-	if (err) {
-		got_object_commit_close(commit);
-		return err;
-	}
-
 	if (!changed) {
 		/* Locate first commit which changed graph->path. */
 		struct got_object_id *changed_id = NULL;