gitweb: Remove git_to_hash function