summaryrefslogtreecommitdiff
path: root/include/git2/checkout.h
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-05-06 06:33:02 -0700
committerVicent Martí <vicent@github.com>2013-05-06 06:33:02 -0700
commit450a78bf07b0c255df72279d41e04270e453e2cc (patch)
tree5e7b3485f0de1632948996eee1f2ed45ad7db20a /include/git2/checkout.h
parent0ed3fa8a37f6dc2e59eeabb44e4df7660ee856bf (diff)
parente09d18eed66d0239bea73af51e586f6ae651fe49 (diff)
downloadlibgit2-450a78bf07b0c255df72279d41e04270e453e2cc.tar.gz
Merge pull request #1545 from ethomson/checkout_dirs_in_use
allow checkout to proceed when a dir to be removed is in use (win32)
Diffstat (limited to 'include/git2/checkout.h')
-rw-r--r--include/git2/checkout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/checkout.h b/include/git2/checkout.h
index d3e971b43..6798bf31c 100644
--- a/include/git2/checkout.h
+++ b/include/git2/checkout.h
@@ -134,6 +134,9 @@ typedef enum {
/** Treat pathspec as simple list of exact match file paths */
GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH = (1u << 13),
+ /** Ignore directories in use, they will be left empty */
+ GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES = (1u << 18),
+
/**
* THE FOLLOWING OPTIONS ARE NOT YET IMPLEMENTED
*/