This is a pun on the word "hash". To "hash it over" means to have a discussion to come to a resolution. It has the word hash in it. Hash is a type of food and this joke is about cooks.
Two cooks disagreed but decided to hash it over .