summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-05-15 14:54:02 -0700
committerRussell Belfer <rb@github.com>2013-05-15 14:54:02 -0700
commitdcb0f7c061554de06db5879361b22eab3517a4ee (patch)
tree2221b740034cf3bf6236daa60242bb966d7c76cd /include/git2/commit.h
parent55d3a39098bfc513b12ad6cb56658cb2f87e6a91 (diff)
downloadlibgit2-dcb0f7c061554de06db5879361b22eab3517a4ee.tar.gz
Fix checkout of submodules with no .gitmodules
It is possible for there to be a submodule in a repository with no .gitmodules file (for example, if the user forgot to commit the .gitmodules file). In this case, core Git will just create an empty directory as a placeholder for the submodule but otherwise ignore it. We were generating an error and stopping the checkout. This makes our behavior match that of core git.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions