aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-03-07 12:47:15 -0800
committerJunio C Hamano <gitster@pobox.com>2010-03-07 12:47:15 -0800
commitc2b456b8956c2091318edaee362119e0e96b86b7 (patch)
treedc2fa7fbcc84a8638248cfaaa4b10538efcf5857 /cache.h
parent000d2c07ef65b19bd9cf30ef44a3018b8f110b2c (diff)
parent3719b2fe554adc2f7a34a16b90f6894f299aab3c (diff)
downloadgit-c2b456b8956c2091318edaee362119e0e96b86b7.tar.gz
git-c2b456b8956c2091318edaee362119e0e96b86b7.tar.xz
Merge branch 'nd/root-git'
* nd/root-git: Add test for using Git at root of file system Support working directory located at root Move offset_1st_component() to path.c init-db, rev-parse --git-dir: do not append redundant slash make_absolute_path(): Do not append redundant slash Conflicts: setup.c sha1_file.c
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 4d89aa3da..c286310de 100644
--- a/cache.h
+++ b/cache.h
@@ -679,6 +679,7 @@ int normalize_path_copy(char *dst, const char *src);
int longest_ancestor_length(const char *path, const char *prefix_list);
char *strip_path_suffix(const char *path, const char *suffix);
int daemon_avoid_alias(const char *path);
+int offset_1st_component(const char *path);
/* Read and unpack a sha1 file into memory, write memory to a sha1 file */
extern int sha1_object_info(const unsigned char *, unsigned long *);