Totally minor, but Git looks for .gitignore files recursively, so unless it's something super important, I don't think it's a great idea to add them to projects.

Vi .swp files are something that only certain users will have; they should use a global Git ignore configuration.

http://help.github.com/ignore-files/

Patch to follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

glennpratt’s picture

D7 patch attached.

glennpratt’s picture

Priority: Normal » Minor
Status: Active » Needs review
catch’s picture

Status: Needs review » Reviewed & tested by the community

Committed/pushed. Thanks!

catch’s picture

Status: Reviewed & tested by the community » Fixed
quotesBro’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)

Same thing for 6.x-1.x branch.