projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make fiel checkout function available to the git library
[git.git]
/
cache.h
diff --git
a/cache.h
b/cache.h
index
481f7c7
..
7cb5b55
100644
(file)
--- a/
cache.h
+++ b/
cache.h
@@
-214,4
+214,15
@@
static inline void *xcalloc(size_t nmemb, size_t size)
return ret;
}
+struct checkout {
+ const char *base_dir;
+ int base_dir_len;
+ unsigned force:1,
+ quiet:1,
+ not_new:1,
+ refresh_cache:1;
+};
+
+extern int checkout_entry(struct cache_entry *ce, struct checkout *state);
+
#endif /* CACHE_H */