summaryrefslogtreecommitdiff
path: root/file/file.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-04 07:11:13 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-04 07:19:45 -0300
commitba7b2c25799e9615705e146f18a74a0389108e6c (patch)
tree6972000191be3e6fd8dbcac95eec01ee07cf5c7f /file/file.h
parentce034adb60b431114abf49b4aceb39e96b48c682 (diff)
downloadeeshow-ba7b2c25799e9615705e146f18a74a0389108e6c.tar.gz
eeshow-ba7b2c25799e9615705e146f18a74a0389108e6c.tar.bz2
eeshow-ba7b2c25799e9615705e146f18a74a0389108e6c.zip
file/git-hist.c (vcs_git_try): check if the file really exists in the repo
Else, eeshow may load some huge revision history for an uncommitted file, just to report that it can't be found.
Diffstat (limited to 'file/file.h')
-rw-r--r--file/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/file/file.h b/file/file.h
index 15ebc1a..44d12cc 100644
--- a/file/file.h
+++ b/file/file.h
@@ -33,6 +33,7 @@ bool file_cat(const struct file *file, void *user, const char *line);
char *file_graft_relative(const char *base, const char *name);
+bool file_open_vcs(struct file *file, const char *name);
bool file_open(struct file *file, const char *name,
const struct file *related);
bool file_open_revision(struct file *file, const char *rev, const char *name,