summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-01 22:51:27 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-01 22:51:27 -0700
commit95a31cc5b32c5ab787e419124826ac202a00b7f5 (patch)
treef50f67e0a0df6e5a6b63c0d44fb8f5d61ce01aff /cache.h
parentMerge branch 'nh/fetch-http' (diff)
parentrevision parsing: make "rev -- paths" checks stronger. (diff)
downloadtgif-95a31cc5b32c5ab787e419124826ac202a00b7f5.tar.xz
Merge branch 'jc/pathcheck'
* jc/pathcheck: revision parsing: make "rev -- paths" checks stronger.
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 4d8fabc6d8..a4f253ec25 100644
--- a/cache.h
+++ b/cache.h
@@ -135,6 +135,7 @@ extern const char *setup_git_directory(void);
extern const char *prefix_path(const char *prefix, int len, const char *path);
extern const char *prefix_filename(const char *prefix, int len, const char *path);
extern void verify_filename(const char *prefix, const char *name);
+extern void verify_non_filename(const char *prefix, const char *name);
#define alloc_nr(x) (((x)+16)*3/2)