Squashed 'deps/libgit2/' changes from 057126c..013924c

013924c Merge pull request #2730 from libgit2/cmn/local-push
df86d43 Merge pull request #2747 from libgit2/cmn/notes-consistency
bfa6cdb notes: fix comments for git_note_next()
21083a7 notes: move the notes name argument
d43c7bd Rever spelling fixes for dependencies
30ec052 Merge pull request #2744 from epmatsw/spelling
e79fbd9 Merge pull request #2743 from ethomson/init_val
b874629 Spelling fixes
6d91dc5 init: return the number of initializations
8bfbe69 Merge pull request #2742 from stewid/add_missing_else_directive
2d2cd62 Add missing else directive
792d750 Merge pull request #2741 from ethomson/fetch-twice
70d2174 win32: clear connection data on close
169497d Merge pull request #2734 from jeffhostetler/jeffhostetler/git_mkfile
fea15f7 Merge pull request #2736 from ethomson/describe_errorcode
32e2b75 describe: check error codes
93aef71 fix cl_git_mkfile() to test for -1 rather than 0 for errors from p_creat()
53e48b3 Merge pull request #2727 from libgit2/cmn/travis-jobs
e952bc5 Merge pull request #2718 from libgit2/cmn/peeling-errors
d5c84f6 local: adjust to the common refspec parser
3fade40 remote: add test for pushing and deleting with the local transport
52ee0e8 remote: verify there is a push foreach callback set
f7fcb18 Plug leaks
753e17b peel: reject bad queries with EINVALIDSPEC
1dbb74b Travis: do non-threadsafe builds
60f3e87 Travis: move the valgrind run to allowed_failures
e06b104 Merge pull request #2723 from ravindp/ravindp/fix_4_missing_delta_bases
ec7e680 Fix for misleading "missing delta bases" error - Fix #2721.
e048293 Merge pull request #2725 from libgit2/vmg/attr-null
24cce23 text: Null-terminate a string if we've been gouging it
b7fb71e notes: Use `git__strndup`
2e1e0f1 blame: Do not assume blob contents are NULL-terminated
1ba48b7 notes: Do not assume blob contents are NULL-terminated
72d0024 attr_file: Do not assume ODB data is NULL-terminated
92e0b67 buffer: Do not `put` anything if len is 0
6f44617 Merge pull request #2710 from Therzok/shellcheckScripts
deadc43 Merge pull request #2720 from ravindp/master
c89f1cf Merge pull request #2724 from libgit2/vmg/empty
e015665 odb: `git_odb_object` contents are never NULL
a4fccbb Run shell scripts through shellcheck
fc6ac07 Merge pull request #2713 from libgit2/jamill/push_fetch_first
fd10b11 Merge pull request #2717 from libgit2/cmn/remote-ls
21361cb Merge pull request #2719 from libgit2/cmn/fetch-twice
d7674b5 Merge pull request #2722 from libgit2/cmn/disable-ssh-check
aa5a06c travis: disable the cert callback on OSX
1ca61bd fetch: clear the connection data on close
7561f98 Fix for memory leak issue in indexer.c, that surfaces on windows
8fd7dd7 remote: don't say we free the remote on disconnect
699dfcc remote: clarify which list of references _ls() returns
4d86cae Remove two completed projects from the list
93b982b Merge pull request #2654 from linquize/missing-obj
45301cc Merge pull request #2608 from libgit2/cmn/remote-push
8b5b814 Merge pull request #2671 from swisspol/remote_create_fix
7f1b73b Merge pull request #2693 from libgit2/cmn/push-refspec-refactor
a4221cc Merge pull request #2699 from swisspol/fix_warnings
a03f6ca Update message for error during push
d3cd7da Fixed active_refspecs field not initialized on new git_remote objects
5915d70 branch: consider an empty upstream remote config as not found
8aa7073 Merge branch 'openssl-lock-free'
d6ecc31 Plug possible leak in the openssl locks
ce8822c Merge pull request #2707 from swisspol/fix_include
624eb97 Merge pull request #2708 from phatblat/pr/threading-doc
d698712 Fix GCD typo
889d8c8 Fixed git2.h not including threads.h anymore
692c040 Fixed a couple Clang warnings
aad638f push: use the common refspec parser
65f6c1c Merge pull request #2653 from ethomson/contributing
64e3e6d remote: use configured push refspecs if none are given
6eb9e39 push: move main test function to git_remote_push()
3149547 remote: introduce git_remote_push()
81f1fc7 Fix missing object in tests/resources/crlf by changing the tail commit
09846fd Add instructions on running the tests
ac63149 Fix grammar of licensing sentence, add IRC links

git-subtree-dir: deps/libgit2
git-subtree-split: 013924c17c03c42bce363ea1ddc949444164c2bc
Merge commit 'c5c4e3d7880d81941a6d9d1eebbd0010f79a086f' into jacquesg/update-libgit2
Note.xs: git_note_create() interface changes
19-push.t: Refspec fixes
Changes: update