diff options
author | Werner Almesberger <werner@almesberger.net> | 2016-11-29 01:14:30 -0300 |
---|---|---|
committer | Werner Almesberger <werner@almesberger.net> | 2016-11-29 01:14:30 -0300 |
commit | 6132ba429c74e066f21078a702cd90a36e3545cc (patch) | |
tree | 91f12b3d266ea4c7f68161a68b36fe551b0927e9 /file/git-file.c | |
parent | afac499523f03b8a80caa5e257fac8e1fb956246 (diff) | |
download | eeshow-6132ba429c74e066f21078a702cd90a36e3545cc.tar.gz eeshow-6132ba429c74e066f21078a702cd90a36e3545cc.tar.bz2 eeshow-6132ba429c74e066f21078a702cd90a36e3545cc.zip |
TODO, file/git-file.c: defer eeshow hw/neo900.pro issue
Diffstat (limited to 'file/git-file.c')
-rw-r--r-- | file/git-file.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/file/git-file.c b/file/git-file.c index 570c72b..23e64a3 100644 --- a/file/git-file.c +++ b/file/git-file.c @@ -446,7 +446,22 @@ static bool try_related(struct vcs_git *vcs_git) if (vcs_git->repo) { if (!strcmp(git_repository_path(vcs_git->related->repo), git_repository_path(vcs_git->repo))) +/* + * @@@ cd neo900/ee/hw; eeshow neo900.pro works but + * cd neo900/ee; eeshow hw/neo900.pro fails because eeshow tries to find + * files like bbcpu.sch in ee/ instead of ee/hw/. + * + * Changing the #if below to 0 makes this work in both cases but may produce + * other issues. One of them is that the path of the related VCS file becomes + * hw/hw/neo900.sch + * + * This needs more analysis. + */ +#if 1 return related_same_repo(vcs_git); +#else + return related_only_repo(vcs_git); +#endif else return related_other_repo(vcs_git); } |