aboutsummaryrefslogtreecommitdiff
path: root/src/tag_db.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag_db.cc')
-rw-r--r--src/tag_db.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tag_db.cc b/src/tag_db.cc
index 31b150bd..52cbaede 100644
--- a/src/tag_db.cc
+++ b/src/tag_db.cc
@@ -155,6 +155,8 @@ void TagDb::ReadLooseTags() {
int dir_fd = open(dirname.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC);
if (dir_fd < 0) return;
ON_SCOPE_EXIT(&) { CHECK(!close(dir_fd)) << Errno(); };
+ // TODO: recursively traverse directories so that the file refs/tags/foo/bar gets interpreted
+ // as the tag foo/bar. See https://github.com/romkatv/gitstatus/issues/254.
(void)ListDir(dir_fd, loose_arena_, loose_tags_, /* precompose_unicode = */ false,
/* case_sensitive = */ true);
}