diff options
author | Junio C Hamano <junkio@cox.net> | 2006-08-27 20:18:58 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-27 20:33:46 -0700 |
commit | 1e49cb8ad44cfb926b719061fa41f42e62291560 (patch) | |
tree | 97fd2f10f3bccb9d3b47de025f48ad15cfa2e922 /cache.h | |
parent | d5d0a0e748025bf253db5f0cde7b22cb0feeced2 (diff) | |
parent | eed94a570e0421175d6b4342c0ac48e03ceedf0b (diff) | |
download | git-1e49cb8ad44cfb926b719061fa41f42e62291560.tar.gz git-1e49cb8ad44cfb926b719061fa41f42e62291560.tar.xz |
Merge branch 'js/c-merge-recursive'
* js/c-merge-recursive: (21 commits)
discard_cache(): discard index, even if no file was mmap()ed
merge-recur: do not die unnecessarily
merge-recur: try to merge older merge bases first
merge-recur: if there is no common ancestor, fake empty one
merge-recur: do not setenv("GIT_INDEX_FILE")
merge-recur: do not call git-write-tree
merge-recursive: fix rename handling
.gitignore: git-merge-recur is a built file.
merge-recur: virtual commits shall never be parsed
merge-recur: use the unpack_trees() interface instead of exec()ing read-tree
merge-recur: fix thinko in unique_path()
Makefile: git-merge-recur depends on xdiff libraries.
merge-recur: Explain why sha_eq() and struct stage_data cannot go
merge-recur: Cleanup last mixedCase variables...
merge-recur: Fix compiler warning with -pedantic
merge-recur: Remove dead code
merge-recur: Get rid of debug code
merge-recur: Convert variable names to lower_case
Cumulative update of merge-recursive in C
recur vs recursive: help testing without touching too many stuff.
...
This is an evil merge that removes TEST script from the toplevel.
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -145,6 +145,7 @@ extern void verify_non_filename(const char *prefix, const char *name); extern int read_cache(void); extern int read_cache_from(const char *path); extern int write_cache(int newfd, struct cache_entry **cache, int entries); +extern int discard_cache(void); extern int verify_path(const char *path); extern int cache_name_pos(const char *name, int namelen); #define ADD_CACHE_OK_TO_ADD 1 /* Ok to add */ |