Files
libgit2/examples
Russell Belfer 3b5f795446 Create git_diff_line and extend git_diff_hunk
Instead of having functions with so very many parameters to pass
hunk and line data, this takes the existing git_diff_hunk struct
and extends it with more hunk data, plus adds a git_diff_line.
Those structs are used to pass back hunk and line data instead of
the old APIs that took tons of parameters.

Some work that was previously only being done for git_diff_patch
creation (scanning the diff content for exact line counts) is now
done for all callbacks, but the performance difference should not
be noticable.
2013-10-21 13:42:42 -07:00
..
2013-04-06 20:51:16 -07:00
2013-04-06 20:51:16 -07:00
2013-09-03 15:20:16 -07:00
2013-08-16 15:04:15 -07:00
2012-07-10 21:50:36 -07:00
2013-05-15 22:41:30 +02:00
2013-07-10 20:50:32 +02:00
2013-09-17 09:50:30 +02:00

libgit2 examples

These examples are meant as thin, easy-to-read snippets for Docurium (https://github.com/github/docurium) rather than full-blown implementations of Git commands. They are not vetted as carefully for bugs, error handling, or cross-platform compatibility as the rest of the code in libgit2, so copy with some caution.

For HTML versions, check "Examples" at http://libgit2.github.com/libgit2