commit-reach: move walk methods from commit.c