summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-27 12:51:08 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-27 12:51:08 -0700
commitc9a11205f73d7d39aab8b70169d73948d4a9f04f (patch)
tree0c8628c034b9ca4eff6fd093d0e6fc18fc225962 /cache.h
parentFix mismerged update-index from jc/cache-tree branch. (diff)
parentrevision parsing: make "rev -- paths" checks stronger. (diff)
downloadtgif-c9a11205f73d7d39aab8b70169d73948d4a9f04f.tar.xz
Merge branch 'jc/pathcheck' into next
* 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 00b8804da8..b3e8de4270 100644
--- a/cache.h
+++ b/cache.h
@@ -136,6 +136,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)