summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-06-21 12:26:36 -0700
committerRussell Belfer <rb@github.com>2013-06-21 12:26:36 -0700
commit6a15e8d23ad3e8c419c88b98732ca32addd2887c (patch)
treeb5d16512385925118ce3cd007a1bff6766c2957a /include/git2
parent9094ae5a3c12ee99743498cb8e895d18b932e4dd (diff)
downloadlibgit2-6a15e8d23ad3e8c419c88b98732ca32addd2887c.tar.gz
Loosen ensure_not_bare rules in checkout
With the new target directory option to checkout, the non-bareness of the repository should be checked much later in the parameter validation process - actually that check was already in place, but I was doing it redundantly in the checkout APIs. This removes the now unnecessary early check for bare repos. It also adds some other parameter validation and makes it so that implied parameters can actually be passed as NULL (i.e. if you pass a git_index, you don't have to pass the git_repository - we can get it from index).
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions