]> git.proxmox.com Git - libgit2.git/commit
clone: perform a "local clone" when given a local path
authorCarlos Martín Nieto <cmn@dwim.me>
Sat, 21 Dec 2013 17:18:21 +0000 (17:18 +0000)
committerCarlos Martín Nieto <cmn@dwim.me>
Wed, 28 May 2014 13:40:20 +0000 (15:40 +0200)
commit4386d80be108102548d4ff52c875aedfa94e7412
tree776b4eeb7aeffd59c87606031b2a2e78661cea13
parent433ba614a2ef948008510a1b1189702d515d2fc4
clone: perform a "local clone" when given a local path

When git is given such a path, it will perform a "local clone",
bypassing the git-aware protocol and simply copying over all objects
that exist in the source.

Copy this behaviour when given a local path.
include/git2/clone.h
src/clone.c