[PATCH] gitignore: add VSCode workspace dir

Inochi Amaoto inochiama at outlook.com
Fri Jul 28 19:19:31 PDT 2023


I agree with you that projects should be responsible for their own build
outputs. I know you want to keep the project clean, but it is not good
if the developers upload files associated with the editor by mistake.

Maybe we just ignore any file begin with dot and allow some exception (like
.clang-format and .gitignore itself). This way is already used in linux and
it works well.
AFAIK, the *.swp also begin with a dot, so this can also solve this issue.

> Put .vscode in your global gitignore file then? The *.swp shouldn’t
> really be here either. Otherwise every project’s gitignore becomes a
> mess trying to ignore every editor. Projects should be responsible for
> their own build outputs, and users should be responsible for whatever
> cruft their system’s tools leave around.
>
> So, NAK from me (and a request for someone to remove the *.swp).
>
> Jess



More information about the opensbi mailing list