Handle git_buf's from users more liberally
Merge pull request #2036 from ethomson/git_buf_sanitize

Handle git_buf's from users more liberally