diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-11-29 17:52:36 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-29 17:52:36 -0800 |
commit | 208247adb9fc3702f87c6ec3fc26bd85d10d73e6 (patch) | |
tree | 3b1a4d8e778d8733e9b70fd53e097d632d264040 /cache.h | |
parent | 5acb623b72bde9ec96c48a8bb8f50e61371705ee (diff) | |
parent | 7980872d4ef3ce24329cbdb6d61dc2ed48cbf1c5 (diff) | |
download | git-208247adb9fc3702f87c6ec3fc26bd85d10d73e6.tar.gz |
Merge branch 'cb/leading-path-removal'
* cb/leading-path-removal:
use persistent memory for rejected paths
do not overwrite files in leading path
lstat_cache: optionally return match_len
add function check_ok_to_remove()
t7607: add leading-path tests
t7607: use test-lib functions and check MERGE_HEAD
Conflicts:
t/t7607-merge-overwrite.sh
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -859,7 +859,7 @@ struct cache_def { extern int has_symlink_leading_path(const char *name, int len); extern int threaded_has_symlink_leading_path(struct cache_def *, const char *, int); -extern int has_symlink_or_noent_leading_path(const char *name, int len); +extern int check_leading_path(const char *name, int len); extern int has_dirs_only_path(const char *name, int len, int prefix_len); extern void schedule_dir_for_removal(const char *name, int len); extern void remove_scheduled_dirs(void); |