Fix really bad error handling in git_smart__negotiate_fetch
Merge pull request #1260 from phkelley/development

Fix really bad error handling in git_smart__negotiate_fetch
Fix compilation on OpenBSD
commit: don't include the LF in the header field value

When the encoding header changed to be treated as an additional
header, the EOL pointer started to point to the byte after the LF,
making the git__strndup call copy the LF into the value.

Increase the EOL pointer value after copying the data to keep the rest
of the semantics but avoid copying LF.
Parse commit time as uint64_t to avoid overflow

The commit time is already stored as a git_time_t, but we were
parsing is as a uint32_t.  This just switches the parser to use
uint64_t which will handle dates further in the future (and adds
some tests of those future dates).
Merge pull request #1265 from arrbee/parse-commit-time-as-uint64

Parse commit time as uint64_t to avoid overflow
Update clar to a80e7f30
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
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