Sorry, but I didn't find the trailing whitespace you are talking about. Do you mean the new line between sha1 and head?