libgit2/libgit2 — pull request #689 by scunz (2012-05-12 09:16:52+00:00)
Title: Use -fvisibility=hidden in GCC builds

Don't let gcc export symbols that aren't meant to be exported.

This reduces the exported symbol count roughly by 50%.

Note that this compiles without my other pull request (#686), which probably means: git_tree_diff_XXX, git_refspec_XXX and git_oid_shorten_XXX are not covered by test cases.