[notmuch] [PATCH 2/2] .gitignore: Add common editor droppings

2009-11-19 Thread Jeffrey Ollie
On Wed, Nov 18, 2009 at 11:39 PM, Karl Wiberg  wrote:
>
> Since these patterns are specific to a user rather than a project,
> shouldn't they go in the user's ignore file (~/.gitignore) rather than
> the project's?

If every user could be counted on to put them in their personal
.gitignore probably not, but I think that it's good practice to at
least ignore the stuff that emacs and vim use for temporary files and
backups.

-- 
Jeff Ollie


[notmuch] [PATCH 2/2] .gitignore: Add common editor droppings

2009-11-19 Thread Karl Wiberg
On Wed, Nov 18, 2009 at 11:51 PM, Ingmar Vanhassel  
wrote:

> diff --git a/.gitignore b/.gitignore
> index d277c5a..a210779 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -2,4 +2,6 @@
> ?notmuch
> ?notmuch.1.gz
> ?*.[ao]
> +*~
> +.*.swp

Since these patterns are specific to a user rather than a project,
shouldn't they go in the user's ignore file (~/.gitignore) rather than
the project's?

-- 
Karl Wiberg, kha at treskal.com
   subrabbit.wordpress.com
   www.treskal.com/kalle


[notmuch] [PATCH 2/2] .gitignore: Add common editor droppings

2009-11-18 Thread Ingmar Vanhassel
---
 .gitignore |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index d277c5a..a210779 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,6 @@
 notmuch
 notmuch.1.gz
 *.[ao]
+*~
+.*.swp

-- 
1.6.5.2.433.g23cdb