We try to have an object-like namespace.  (Eg, `git_blob` is an object and `git_blob_foo` is a foo on a blob.)  With that in mind, I think that `git_patch_format` would be more appropriate as a name.