Commit 660d59caa9cd6260fbc980e7da15f806d6d53083

Russell Belfer 2013-05-17T16:40:00

Add git_oid_nfmt - a flexible OID formatter I frequently want to the the first N digits of an OID formatted as a string and I'd like it to be efficient. This function makes that easy and I could rewrite the OID formatters in terms of it.