| Summary: | Duplicate entries on the Project View | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | satelliteprogrammer |
| Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christoph |
| Priority: | NOR | ||
| Version First Reported In: | 18.12.3 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | screenshot | ||
Is this some project with sub-modules? Then this should be fixed with: Author: Christoph Cullmann <cullmann@kde.org> 2019-04-07 13:42:02 Committer: Christoph Cullmann <cullmann@kde.org> 2019-04-08 06:57:10 Parent: ae04ae91e886d035a4b081b4471421d5a1abf00b ([kateproject] Gracefully exit when analyzer is not finished) Child: 36b9beaa605fd8ba9f27680d53ab4304f10838ac (improve comment) Branches: master, remotes/origin/Applications/19.04, remotes/origin/Applications/19.08, remotes/origin/expose-show-plugin-config-page, remotes/origin/external-tools-toolbar, remotes/origin/fix-dual-screen-hidpi, remotes/origin/lsp, remotes/origin/master, remotes/origin/remove-deprecated-plugins, remotes/origin/revive-externaltools-plugin Follows: v19.03.90 Precedes: v19.04.0 fix handling of sub modules in git rely on ls-files --recurse-submodules, there since end of 2016 Summary: before this fix, submodules lead to duplicate files in the file tree for a project Test Plan: test e.g. https://github.com/christoph-cullmann/cullmann.io without patch: duplicated files, missing sub-modules with patch: no duplicates + sub-module files are there Subscribers: kwrite-devel Tags: #kate Differential Revision: https://phabricator.kde.org/D20343 I think this is fixed by the below commit. |
Created attachment 122858 [details] screenshot SUMMARY The project view is showing duplicate entries for every file (not directories). STEPS TO REPRODUCE 1. Open Kate (kate &) in a git repo OBSERVED RESULT Upon closer inspection, it can be seen that the path for each of these two files, when hovering each one, is different, where one use a double slash (//) after the parent directory and the other does not. Each entry opens the same file. EXPECTED RESULT Not showing duplicate entries. SOFTWARE/OS VERSIONS Linux 5.0.0-29 Xubuntu 19.04 under VirtualBox