From 555c300c721dfb13fbb19144af5cd98e31a88d79 Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Wed, 26 Jun 2013 00:32:19 -0400 Subject: [PATCH] .gitignore cleanups * Clarified bogosity of toplevel .gitignore (and other such files) * Removed "doc/" in the toplevel file -- looks like this was some broken leftover, and it's dangerous for at least "scribble/doc" (which contains code). * Collapse more common patterns into worksp instead of in each file. * Use a trailing "/" for directories. * racket/lib/collects/pkg/.gitignore looks like a leftover that is no longer needed. --- .gitignore | 11 ++++++++++- racket/lib/.gitignore | 2 +- racket/lib/collects/pkg/.gitignore | 1 - racket/src/worksp/.gitignore | 4 ++++ racket/src/worksp/gracket/.gitignore | 2 -- racket/src/worksp/mrstart/.gitignore | 2 -- racket/src/worksp/myssink/.gitignore | 6 ------ racket/src/worksp/mzcom/.gitignore | 2 -- racket/src/worksp/mzstart/.gitignore | 2 -- racket/src/worksp/racket/.gitignore | 2 -- 10 files changed, 15 insertions(+), 19 deletions(-) delete mode 100644 racket/lib/collects/pkg/.gitignore delete mode 100644 racket/src/worksp/gracket/.gitignore delete mode 100644 racket/src/worksp/mrstart/.gitignore delete mode 100644 racket/src/worksp/mzstart/.gitignore delete mode 100644 racket/src/worksp/racket/.gitignore diff --git a/.gitignore b/.gitignore index c5792b7012..7d26de2475 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,17 @@ +# Note: this file is mostly meaningless, since the toplevel directory +# will not exist after a repository split. The same holds for .mailmap +# (which some people can decide if they want to thin it out or not +# include it) and for ".gitattributes" (which is probably irrelevant +# except maybe for the core repo). + +# These are likely bogus /build/ /bundle/ +# Everything below makes sense on any package repository, so it's stuff +# that should be put into each such repository + compiled/ -doc/ # common backups, autosaves, lock files, OS meta-files *~ diff --git a/racket/lib/.gitignore b/racket/lib/.gitignore index 80672092a2..83693cd706 100644 --- a/racket/lib/.gitignore +++ b/racket/lib/.gitignore @@ -1,3 +1,3 @@ # Ignore anything other than the "collects" directory /* -!/collects +!/collects/ diff --git a/racket/lib/collects/pkg/.gitignore b/racket/lib/collects/pkg/.gitignore deleted file mode 100644 index 5df586670c..0000000000 --- a/racket/lib/collects/pkg/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/doc diff --git a/racket/src/worksp/.gitignore b/racket/src/worksp/.gitignore index 40fd2e39b3..e82ad45255 100644 --- a/racket/src/worksp/.gitignore +++ b/racket/src/worksp/.gitignore @@ -7,5 +7,9 @@ */SGC */*.user +# DevStudio generated files +*/gracket.ncb +*/gracket.suo + rbuildmode.obj rbuildmode.exe diff --git a/racket/src/worksp/gracket/.gitignore b/racket/src/worksp/gracket/.gitignore deleted file mode 100644 index 15227027db..0000000000 --- a/racket/src/worksp/gracket/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/gracket.ncb -/gracket.suo diff --git a/racket/src/worksp/mrstart/.gitignore b/racket/src/worksp/mrstart/.gitignore deleted file mode 100644 index 7df400ed26..0000000000 --- a/racket/src/worksp/mrstart/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/mrstart.ncb -/mrstart.suo diff --git a/racket/src/worksp/myssink/.gitignore b/racket/src/worksp/myssink/.gitignore index e5a82463c1..88b910b28f 100644 --- a/racket/src/worksp/myssink/.gitignore +++ b/racket/src/worksp/myssink/.gitignore @@ -1,7 +1 @@ -/myssink.ncb -/myssink.suo - -/Release /*.idb -/*.user -/x64 diff --git a/racket/src/worksp/mzcom/.gitignore b/racket/src/worksp/mzcom/.gitignore index ad99290c60..d534dcf016 100644 --- a/racket/src/worksp/mzcom/.gitignore +++ b/racket/src/worksp/mzcom/.gitignore @@ -1,5 +1,3 @@ -/mzcom.ncb -/mzcom.suo /mzcom_h.h /mzcom_i.c /mzcom_p.c diff --git a/racket/src/worksp/mzstart/.gitignore b/racket/src/worksp/mzstart/.gitignore deleted file mode 100644 index 504f3cb066..0000000000 --- a/racket/src/worksp/mzstart/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/mzstart.ncb -/mzstart.suo diff --git a/racket/src/worksp/racket/.gitignore b/racket/src/worksp/racket/.gitignore deleted file mode 100644 index 1d75de6e2f..0000000000 --- a/racket/src/worksp/racket/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/racket.ncb -/racket.suo