summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2006-09-08 08:05:34 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-08 23:46:35 (GMT)
commitc91f0d92efb36d7b349f586cafafaf0e6ac3f5b2 (patch)
tree9f328dd9bbc033e3c3d50a43d0a08ebfe6bd0d79 /dir.h
parent7c92fe0eaa4fb89e27fa3617b9ae52f20b511573 (diff)
downloadgit-c91f0d92efb36d7b349f586cafafaf0e6ac3f5b2.zip
git-c91f0d92efb36d7b349f586cafafaf0e6ac3f5b2.tar.gz
git-c91f0d92efb36d7b349f586cafafaf0e6ac3f5b2.tar.bz2
git-commit.sh: convert run_status to a C builtin
This creates a new git-runstatus which should do roughly the same thing as the run_status function from git-commit.sh. Except for color support, the main focus has been to keep the output identical, so that it can be verified as correct and then used as a C platform for other improvements to the status printing code. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'dir.h')
-rw-r--r--dir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.h b/dir.h
index 56a1b7f..313f8ab 100644
--- a/dir.h
+++ b/dir.h
@@ -47,5 +47,6 @@ extern int excluded(struct dir_struct *, const char *);
extern void add_excludes_from_file(struct dir_struct *, const char *fname);
extern void add_exclude(const char *string, const char *base,
int baselen, struct exclude_list *which);
+extern int file_exists(const char *);
#endif