Merge pull request #1266 from arrbee/update-clar

Update clar to a80e7f30
Handle packed peeled objects without trailing newlines

Fixes #1262
Merge pull request #1267 from libgit2/no-newline

Handle packed peeled objects without trailing newlines
A simple perf optimization in pack-objects.c
Fix gen_pktline format specifier for Win32
Update remote tips on push
Merge pull request #1268 from phkelley/development

A simple perf optimization in pack-objects.c
Revert "Handle packed peeled objects without trailing newlines"

This reverts commit 28b1cdf3a1bdcd37cf9d550c92b8c19b1782ea6b.

//cc #1262 #1267
Fix case sensitivity bug with tree iterators

With the new code to make tree iterators support ignore_case,
there is a bug in setting the start entry for range bounded
iterators where memcmp was being used instead of strncasecmp.
This fixes that and expands the tree iterator test to cover
the cases that were broken.
Merge pull request #1269 from arrbee/tree-iterator-case-sensitivity-bug

Fix case sensitivity bug with tree iterators
Allow peeled references without trailing newline at end of file

Also ammends one of the tag tests to make sure it's working.
Seperate out a new test that verifies packed-refs with no trailing newline

as per @vmg's request
Merge pull request #1270 from libgit2/packed-peeled-objects-fix

Allow peeled references without trailing newline at end of file
Global options setter
Merge pull request #1271 from libgit2/global-settings

Global options setter
Don't clear the opt instance in the diff example.

The version field is overwritten otherwise. The opt instance is
already initialized properly.
Merge pull request #1273 from sba1/example-diff-fix

Don't clear the opt instance in the diff example.
opts: Add getters too
opts: Some basic tests
update examples to work on windows