Hi!

On Sat, Jun 20, 2020 at 12:10:22PM +0200, Thomas Koenig via Gcc-patches wrote:
> Add swap files for vim to .gitignore.
> 
> This patch adds the most common swap files for vim to .gitignore. The
> editor may leave those behind if is stopped or crashes.  We already
> do the same kind of things for emacs.

> +.*.swp
> +.*.swo

- On most setups, .swp is the most common name, and .sw[a-z] in general;
  not something with two dots.

- I have never had issues with vim swap files showing up in git, there
  must be something else you do different, too.

- Maybe we should ignore every dot file (except those few we then
  unignore)?


Segher

Reply via email to