Created attachment 137721 [details] Screenshot showing the error. SUMMARY If we open a file in an svn repo, Kate complains about not being able to find a .git file. STEPS TO REPRODUCE: 1. Checkout any svn repo (eg. `svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/en_GB/messages/dolphin` ) 2. Open any text file in the repo with Kate OBSERVED RESULTS The Kate window opens with the 'output' pane open, and complains (error message below; screenshot attached): Git Error Failed to find .git directory, things may not work correctly: fatal: not a git repository (or any of the parent directories): .git EXPECTED RESULTS Kate should not detect svn repos as git repos. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.21.4 KDE Frameworks Version: 5.81.0 Qt Version: 5.15.2 Kernel Version: 5.10.31-1-lts OS Type: 64-bit Graphics Platform: X11 ADDITIONAL INFORMATION
Git commit 42ce4852c25c8c8d8524316c6f1f915c835d8108 by Waqar Ahmed. Committed on 20/04/2021 at 15:23. Pushed by waqar into branch 'master'. Downgrade .git not found warning to info message Signed-off-by: Waqar Ahmed <waqar.17a@gmail.com> M +8 -1 addons/project/gitwidget.cpp https://invent.kde.org/utilities/kate/commit/42ce4852c25c8c8d8524316c6f1f915c835d8108
Git commit ae0bd0fd387145a4a44d2521e0b456f38b8d4ebe by Waqar Ahmed. Committed on 20/04/2021 at 15:25. Pushed by waqar into branch 'release/21.04'. Downgrade .git not found warning to info message Signed-off-by: Waqar Ahmed <waqar.17a@gmail.com> (cherry picked from commit 42ce4852c25c8c8d8524316c6f1f915c835d8108) M +8 -1 addons/project/gitwidget.cpp https://invent.kde.org/utilities/kate/commit/ae0bd0fd387145a4a44d2521e0b456f38b8d4ebe