libgit2/examples
Russell Belfer 56c72b759c Fix diff constructor name order confusion
The diff constructor functions had some confusing names, where the
"old" side of the diff was coming after the "new" side.  This
reverses the order in the function name to make it less confusing.

Specifically...

* git_diff_index_to_tree becomes git_diff_tree_to_index
* git_diff_workdir_to_index becomes git_diff_index_to_workdir
* git_diff_workdir_to_tree becomes git_diff_tree_to_workdir
2012-12-17 11:00:53 -08:00
..
network Make building samples more friendly 2012-12-16 10:50:10 -08:00
.gitignore Make building samples more friendly 2012-12-16 10:50:10 -08:00
diff.c Fix diff constructor name order confusion 2012-12-17 11:00:53 -08:00
general.c API updates for index.h 2012-11-27 13:18:28 -08:00
Makefile Fix diff constructor name order confusion 2012-12-17 11:00:53 -08:00
README.md Updating language in examples README 2012-07-10 21:50:36 -07:00
showindex.c Improve docs, examples, warnings 2012-11-01 14:08:30 -07: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