diff options
author | Trond Myklebust <trond.myklebust@fys.uio.no> | 2005-10-27 14:46:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 16:57:57 -0400 |
commit | 406119f49d4a6cf8b6eee639128e0575a95065e3 (patch) | |
tree | 18e6717629212508d1dfd5a7c896af26bcb5412a | |
parent | 6cd37cda7ed117d5a13d9b69aeded57b4fd6de14 (diff) |
[PATCH] Ensure that 'make distclean' does not delete files in '.git'
Currently, 'make distclean' causes stgit to barf since it may delete
files in .git/patches. We really shouldn't allow 'make distclean'
anywhere near .git...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -371,8 +371,8 @@ export MODVERDIR := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_ve | |||
371 | 371 | ||
372 | # Files to ignore in find ... statements | 372 | # Files to ignore in find ... statements |
373 | 373 | ||
374 | RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg \) -prune -o | 374 | RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o |
375 | export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg | 375 | export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git |
376 | 376 | ||
377 | # =========================================================================== | 377 | # =========================================================================== |
378 | # Rules shared between *config targets and build targets | 378 | # Rules shared between *config targets and build targets |