diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-05 21:59:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-05 21:59:54 -0700 |
commit | 12dccc165400beae564d2357ce86c71937e5cdc0 (patch) | |
tree | 87a379b829fb3024ce8c302c47c66476c808f91f /cache.h | |
parent | 76f38347b4199f65e8c897ebf4f9ce1d3a24378b (diff) | |
download | git-12dccc165400beae564d2357ce86c71937e5cdc0.tar.gz |
Make fiel checkout function available to the git library
The merge stuff will want it soon, and we don't want to
duplicate all the work..
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 */ |