No need to find merge base.
Correct a stale reference to GIT_EBAREINDEX
Fix skipping content of contained repos

When doing a diff for use in status, we should never show the
content of a git repository contained inside another one.  The
logic to do this was looking for a .git directory and so when a
gitlink plain .git file was used, it was failing to exclude the
directory content.
New tests of status for repo inside repo
Skip blame libgit2 test if not in libgit2 repo

One blame test replies on being run from within the libgit2
repository to leverage having a longer history to play with, but
some bundled versions of libgit2 don't have the whole libgit2
history.  This just skips that test if the repository can't be
opened.
Merge pull request #2233 from libgit2/rb/fix-untracked-repo-status

Skip untracked contained repo contents even with gitlink files
Give the correct name for the function in the doc.

Per @carlosmn, git_index_add is now named git_index_add_bypath.
Merge pull request #2231 from libgit2/fix-memory-index-doc-comment

Correct a stale reference to GIT_EBAREINDEX
Add warning when skipping blame test
Merge pull request #2230 from anuraggup/revwalk-merge-base

No need to find merge base.
checkout: Fix submodule_is_config_only's return value
Merge pull request #2237 from mekishizufu/fix_return_value

Fix submodule_is_config_only's return value
Clar: skip tests
remote: write tests for cloning from an empty repo

Cloning from an empty repo must set master's upstream to origin's
master, even if neither of them exist.

Fetching from a non-empty origin must then mark the master branch
for-merge. This currently fails.
remote: mark branch for-merge even if we're unborn

When the current branch is unborn, git will still mark the current
branch's upstream for-merge if there is an upstream configuration. The
only non-constrived case is cloning from an empty repository which then
gains history. origin's master should be marked for-merge.

In order to do this, we cannot use the high-level wrappers that expect a
reference, as we may not have one. Move over to the internal ones that
expect a reference name, which we do have.
Merge pull request #2239 from libgit2/vmg/clar-skip-test

Skip tests on Clar
Merge pull request #2238 from libgit2/cmn/upstream-for-unborn

Handle an upstream branch for an unborn one
Const correctness!
Merge pull request #2244 from jacquesg/const-correctness

Const correctness!