Squashed 'deps/libgit2/' changes from 73dd663..4c53489

4c53489 Merge pull request #2581 from jacquesg/stash-ignored-directories
89602a1 Merge pull request #2584 from jacquesg/pool-alignment
ffe34a7 Merge pull request #2582 from swansontec/master
ced843f Merge pull request #2559 from libgit2/cmn/free-tls-error
7b7aa75 Recurse ignored directories when stashing
0478b7f Silence unused return value warning
5387cfe Ensure patch is initialized to zero, otherwise, the allocated flag may be set
e640a77 Silence uninitialized warning
7629ea5 Fixed odb foreach test failure for big-endian 64-bit
d99e547 Fixed merge REUC test for big-endian 64-bit
ff97778 The raw index buffer content is not guaranteed to be aligned
ad8c8d9 Ensure pool data is aligned on an 8 byte boundary
3aaa5c7 Introduce GIT_ALIGN
cb4a956 Merge pull request #2570 from cirosantilli/rm-unused-var
d0cf104 Correctly handle getaddrinfo return result
940da54 Added test for stashing files in ignored directories
2cd3cb8 Add a note about cert check in the CHANGELOG
14556cb Merge pull request #2567 from cirosantilli/factor-41
6340e8f travis: another attempt at multiple allowed failures
276d9ea Merge pull request #2571 from libgit2/vmg/walk-up-path
74240af repository: Do not double-free config
5c22c4a travis: fix allowed failures list
4592b62 Merge pull request #2572 from cirosantilli/factor-void
4e96411 Style
a2b4407 attr: Do not walk path if we're at the root
c5cf8ca Replace void casts with GIT_UNUSED.
4cb7c4a attr: Add an extra test for files under a subfolder
bbb988a path: Fix `git_path_walk_up` to work with non-rooted paths
1312f87 Merge pull request #2464 from libgit2/cmn/host-cert-info
25abbc2 Clean up some leaks in the test suite
1d20092 Remove unused buf variable from path/core test.
ecef28d Merge pull request #2569 from libgit2/cmn/valgrind-once
570452e travis: run valgrind only once
52e0972 ssh: skip the localhost cert check earlier
4fe5b77 winhttp: get rid of the cert ignore flag
1e0aa10 ssh: expose both hashes
286369a ssh: provide our own types for host key lengths
ebda097 script: use a parallel build on Travis
0782fc4 net: use only structs to pass information about cert
0fef389 Merge remote-tracking branch 'upstream/master' into cmn/host-cert-info
bf8756d ssh: add test for host key
41698f2 net: remove support for outright ignoring certificates
2aee464 transport: move the cert type enum to types.h
7c8acc5 winhttp: set ignore security flags on user command
67c84e0 winhttp: bring together request sending
5f2cf73 winhttp: only do certificate check for SSL
08545d3 winhttp: credential check on successful connect
23ca0ad Bring certificate check back to the normal return code
2f5864c ssh: do ssh cert info before asking for credentials
17491f6 transport: always call the certificate check callback
85acc56 remote: add tests for the certificate callback
ec1ce45 http: send the DER-encoded cert to the callback
9b94058 Provide a callback for certificate validation
3b2cb2c Factor 40 and 41 constants from source.
fdea219 global: free the error message when exiting a thread

git-subtree-dir: deps/libgit2
git-subtree-split: 4c534892607a2127bff7f6266919470af37ef104
Merge commit '9b737c41a5f4d5c17842f9feba1cc5c73bb619a9' into jacquesg/update-libgit2
Remote.xs: Removed check_cert()
Raw.xs: Added ECERTIFICATE error code
Changes: update
MANIFEST.SKIP: Added more libgit2 files to skip