diff options
author | Russell Belfer <rb@github.com> | 2013-05-17 16:40:00 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-05-17 16:40:00 -0700 |
commit | 660d59caa9cd6260fbc980e7da15f806d6d53083 (patch) | |
tree | 0d889913876122f8c33371e5234b59c07f489d13 /include/git2/diff.h | |
parent | c2d282cfd88ffba7693113786bd2209a5d38b964 (diff) | |
download | libgit2-660d59caa9cd6260fbc980e7da15f806d6d53083.tar.gz |
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.
Diffstat (limited to 'include/git2/diff.h')
0 files changed, 0 insertions, 0 deletions