Add Emacs backup files (wildcard *~) to .gitignore. (issue 9535005)

741 views
Skip to first unread message

kmil...@google.com

unread,
Feb 29, 2012, 3:50:54 AM2/29/12
to sgj...@google.com, a...@google.com, rev...@dartlang.org
Reviewers: Søren Gjesse, ahe,

Message:
I don't know what the protocol is for changes to this file, so let me know
if
there is any....

Description:
Add Emacs backup files (wildcard *~) to .gitignore.


R=a...@google.com,sgj...@google.com
BUG=
TEST=


Please review this at http://codereview.chromium.org/9535005/

SVN Base: https://dart.googlecode.com/svn/branches/bleeding_edge/dart

Affected files:
M .gitignore


Index: .gitignore
diff --git a/.gitignore b/.gitignore
index
21d8295565867490f7d7340466ebe422536dfb1c..a4d482b8be827ac8521593d5b6f7cb52d0c53840
100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,10 +41,13 @@ client/tests/drt
*.pyc
third_party/gsutil/*/gsutilc

-# temporary vim files
+# Temporary vim files
*.swo
*.swp

+# Emacs backup files
+*~
+
/compiler/eclipse.workspace/tests/output/
/compiler/eclipse.workspace/dartc/output/
/compiler/eclipse.workspace/rhino/output/


sgj...@google.com

unread,
Feb 29, 2012, 5:23:53 AM2/29/12
to kmil...@google.com, a...@google.com, rev...@dartlang.org

a...@google.com

unread,
Feb 29, 2012, 5:25:30 AM2/29/12
to kmil...@google.com, sgj...@google.com, rev...@dartlang.org
LGTM!
On 2012/02/29 10:23:53, Søren Gjesse wrote:
> How about adding the auto-save files as well (#*#)?

I'd rather if you don't. It helps me see if there are unsaved files when
I run git status.

http://codereview.chromium.org/9535005/

Kevin Millikin

unread,
Feb 29, 2012, 9:28:25 AM2/29/12
to kmil...@google.com, sgj...@google.com, a...@google.com, rev...@dartlang.org
Thanks for the reviews.

On Wed, Feb 29, 2012 at 11:25 AM, <a...@google.com> wrote:
On 2012/02/29 10:23:53, Søren Gjesse wrote:
How about adding the auto-save files as well (#*#)?

I'd rather if you don't. It helps me see if there are unsaved files when
I run git status.


I agree with Peter.  It doesn't bother me to see them now and then, as they are transient (and the prefix helps to ignore them).   The others were driving me up the wall.
Reply all
Reply to author
Forward
0 new messages