Squashed 'deps/libgit2/' changes from 4bb6ffb..de0c455

de0c455 Merge pull request #2679 from jfultz/missing-include
0a62918 Merge pull request #2661 from swisspol/2656
4bb8708 Merge pull request #2683 from libgit2/cmn/remote-unify
873eb89 Merge pull request #2680 from libgit2/cmn/invalid-cert-return
0fab748 Merge pull request #2685 from libgit2/cmn/mmap-readable
2cc6011 Merge pull request #2684 from jacquesg/openssl-windows
aad0bd6 Fix segmentation fault observed on OpenBSD/sparc64
bc48bcd Make the Visual Studio compiler happy
ebc13b2 Clean up issues include.path issues found during code review.
a68e217 remote: unify the creation code
ea8dedc remote: fix tagopt test
521c0ca merge: talk about the merging state after git_merge()
22fbb26 netops: return GIT_ECERTIFICATE when it fails the basic tests
727ae38 Make config reading continue after hitting a missing include file.
264d74f Merge pull request #2669 from ethomson/revert_test_fix
53ca45e revert tests: always use core.autocrlf=false in tests
7647f44 Merge pull request #2659 from swisspol/static_analysis
64bcf56 Fixed potential crash with uninitialized variables
ea66215 Removed some useless variable assignments
d88766c Changed context_lines and interhunk_lines to uint32_t to match struct s_xdemitconf
116a19d Merge pull request #2666 from libgit2/cmn/threadsafe-on
177a29d Merge commit 'refs/pull/2366/head' of github.com:libgit2/libgit2
79b0ae4 Flip THREADSAFE's default to ON
aabe1e5 Merge branch 'csware/cleanup'
334a069 Minor cleanup: Use defined no_check_cert_flags instead of C&P them again
b07db1e Merge pull request #2482 from libgit2/ed/rebase
6791728 rebase: add information to the CHANGELOG
979645a rebase: updates based on PR comments
18b0040 s/git_merge_head/git_annotated_commit
796b03b rebase: clean up some warnings and memory leaks
e69737d rebase: oid member of operation should be const
ed2c06a git_rebase: iterators for operations
f152f8a rebase: preload all operations
b6b636a rebase: init/open a git_rebase object
18b439b git_rebase_next: provide info about the operation
5ae9d29 git_rebase_finish: rewrite notes when finishing rebase
bad4937 Introduce `git_note_author`, `git_note_committer`
a612a25 git_rebase_commit: write HEAD's reflog appropriately
517644c Introduce git_rebase_finish to complete a rebase
14864fb git_rebase_next: test that we return GIT_ITEROVER
93a7004 git_rebase_commit: drop already-picked commits
a35a989 Introduce git_rebase_commit
443d567 git_rebase_next: write conflicts nicely during rebase
950a709 Introduce git_rebase_next
4fe84d6 Introduce git_rebase_abort
daf395b git_reset: const the git_signature arg
867a36f Introduce git_rebase to set up a rebase session
9e44289 Merge pull request #2612 from ethomson/warnings
5b0c630 Remove unused warning on non-win32
5a7cd1b iterator: free paths when skipping them
4b1b2bd revwalk::mergebase test: free memory
8c8ca73 mwindow: clean up pack map at shutdown
e4985fe submodule test: free submodule
50aae00 global: clean up openssl_locks on shutdown
16288d2 clone::local test: isalpha -> git__isalpha
90aa2bf config test: clean up memory leak
bc42479 Cleanup memory leak in ssh transport
cdd7171 Clean up some memory leaks
369b021 Clean up various compiler warnings
70f7e2c Merge from 2660
fad0aea tests: fix leak
9223f28 Fix test repo dir not deleted after running
d09458f Merge pull request #2638 from libgit2/cmn/config-refresh-remove
725cd5f Merge pull request #2646 from libgit2/cmn/remote-rename
b804121 Merge pull request #2649 from swisspol/2630
a747ea4 Merge pull request #2647 from ethomson/clar_tmpname
cdfd2b6 Merge pull request #2645 from libgit2/cmn/common-crypto
1ad1554 Fixed memory leak in git_tag_delete()
29eed1c clar: use a custom temp directory name
2737226 Merge pull request #2644 from libgit2/cmn/remove-supported-url
46c8f7f remote: accept a repo and name for renaming
0862f61 remote: delete git_remote_supported_url()
d9c0dbb hash: use CommonCrypto on OSX for SHA-1
55cb499 config: remove the refresh function and backend field
62e562f Fix compiler warning (git_off_t cast to size_t).

git-subtree-dir: deps/libgit2
git-subtree-split: de0c4555da57cddd1ea7eb47db87ca515dbe66ed
Merge commit 'b53ec29fa60606a06d83c8b17ee0a4068e8fdd14' into jacquesg/update-libgit2
Upstream libgit2 interface changes

* Config -> refresh: removed
* Remote -> is_url_supported: removed
* Remote -> name: split into name and rename
Changes: update