[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[patch] add global ignore for .*~

From: Robert Schiele <rschiele_at_uni-mannheim.de>
Date: 2002-09-28 21:18:03 CEST

Hello.

I propose to apply the following patch, as .*~ should be ignored with
the same reason *~ is ignored.

Robert

* subversion/libsvn_wc/status.c
  (get_default_ignores): Added .*~ to default ignore list.

* subversion/libsvn_subr/config_file.c
  (svn_config_ensure): Added .*~ to default ignore list.

Index: subversion/libsvn_wc/status.c
===================================================================
--- subversion/libsvn_wc/status.c
+++ subversion/libsvn_wc/status.c 2002-09-28 21:01:37.000000000 +0200
@@ -45,7 +45,7 @@
 
   SVN_ERR (svn_config_read_config (&cfg, pool));
   svn_config_get (cfg, &val, "miscellany", "global_ignores",
- "*.o *.lo *.la #*# *.rej *~ .#*");
+ "*.o *.lo *.la #*# *.rej *~ .*~ .#*");
   *patterns = apr_array_make (pool, 4, sizeof (const char *));
   svn_cstring_split_append (*patterns, val, "\n\r\t\v ", FALSE, pool);
 
Index: subversion/libsvn_subr/config_file.c
===================================================================
--- subversion/libsvn_subr/config_file.c
+++ subversion/libsvn_subr/config_file.c 2002-09-28 21:02:16.000000000 +0200
@@ -752,11 +752,11 @@
         "### Section for configuring miscelleneous Subversion options.\n"
         "### Set global_ignores to a set of whitespace-delimited globs\n"
         "### which Subversion will ignore in its `status' output. By\n"
- "### default, this value is '*.o *.lo *.la #*# *.rej *~ .#*'. \n"
+ "### default, this value is '*.o *.lo *.la #*# *.rej *~ .*~ .#*'. \n"
         "### To turn off global ignores, simply set the value to be\n"
         "### empty (as in \"global_ignores = \").\n"
         "# [miscellany]\n"
- "# global_ignores = *.o *.lo *.la #*# *.rej *~ .#*"
+ "# global_ignores = *.o *.lo *.la #*# *.rej *~ .*~ .#*"
         "\n"
         "### See http://subversion.tigris.org/issues/show_bug.cgi?id=668\n"
         "### for what else will soon be customized in this file.\n";

-- 
Robert Schiele			Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker	mailto:rschiele@uni-mannheim.de

  • application/pgp-signature attachment: stored
Received on Sat Sep 28 21:18:46 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.