commit.c: make read_graft_file() static