summaryrefslogtreecommitdiff
path: root/file/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file/file.c')
-rw-r--r--file/file.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/file/file.c b/file/file.c
index e810e20..4690ebc 100644
--- a/file/file.c
+++ b/file/file.c
@@ -197,7 +197,16 @@ bool file_open(struct file *file, const char *name, const struct file *related)
{
file_init(file, name, related);
- progress(2, "file_open: trying %s", name);
+ if (related) {
+ if (related->vcs)
+ progress(2, "file_open: trying %s (related %s, vcs)",
+ name, related->name);
+ else
+ progress(2, "file_open: trying %s (related %s)",
+ name, related->name);
+ } else {
+ progress(2, "file_open: trying %s", name);
+ }
if (related && related->vcs) {
file->vcs = open_vcs(file);