Junio C Hamano
b6194678b0
Documentation: clarify "git clean -e <pattern>"
...
The current explanation of -e can be misread as allowing the user to say
I know 'git clean -XYZ' (substitute -XYZ with any option and/or
parameter) will remove paths A, B, and C, and I want them all removed
except for paths matching this pattern by adding '-e C' to the same
command line, i.e. 'git clean -e C -XYZ'.
But that is not what this option does. It augments the set of ignore rules
from the command line, just like the same "-e <pattern>" argument does
with the "ls-files" command (the user could probably pass "-e \!C" to tell
the command to clean everything the command would normally remove, except
for C). Also error out when both -x and -e are given with an explanation of
what -e means---it is a symptom of misunderstanding what -e does.
It also fixes small style nit in the parameter to add_exclude() call. The
current code only works because EXC_CMDL happens to be defined as 0.
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2011-08-28 23:47:55 -07:00
..
2011-02-09 14:03:51 -08:00
2011-08-23 15:28:18 -07:00
2011-08-22 15:01:14 -07:00
2011-08-08 09:30:12 -07:00
2010-09-03 09:43:42 -07:00
2011-05-09 15:27:50 -07:00
2011-02-15 11:53:00 -08:00
2011-08-16 11:41:28 -07:00
2011-04-29 11:22:55 -07:00
2010-01-31 10:24:53 -08:00
2011-03-08 14:44:07 -08:00
2011-07-06 11:10:11 -07:00
2010-08-20 10:53:56 -07:00
2010-11-03 09:19:10 -07:00
2011-03-09 13:10:35 -08:00
2011-05-31 12:01:06 -07:00
2011-03-22 14:56:13 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-03-11 10:59:16 -05:00
2011-04-14 12:26:45 -07:00
2010-08-20 14:16:51 -07:00
2011-07-06 14:26:26 -07:00
2011-05-09 15:27:50 -07:00
2011-03-11 10:59:16 -05:00
2011-03-11 10:59:16 -05:00
2011-03-11 10:59:16 -05:00
2011-03-11 10:59:16 -05:00
2011-06-23 15:38:14 -07:00
2011-03-11 10:59:16 -05:00
2011-05-05 13:31:11 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-08-28 23:47:55 -07:00
2011-05-25 09:30:26 -07:00
2011-07-06 14:26:26 -07:00
2011-05-09 17:02:33 -07:00
2011-05-17 21:01:17 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-05-26 22:15:38 -07:00
2011-03-11 10:59:16 -05:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-05-26 22:15:39 -07:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-08-16 11:41:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-21 12:54:55 -07:00
2011-03-11 10:59:16 -05:00
2011-03-09 12:22:15 -08:00
2011-05-26 09:39:33 -07:00
2011-07-06 14:26:26 -07:00
2011-05-16 16:35:08 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-05-09 16:29:33 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2010-03-30 16:49:19 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-05-18 14:37:46 -07:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-05-16 16:38:46 -07:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-04-01 17:57:16 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-05-19 10:54:16 -07:00
2011-04-13 11:59:11 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-08-16 11:41:28 -07:00
2011-08-23 15:19:45 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-01-04 11:23:42 -08:00
2011-07-06 14:26:26 -07:00
2011-06-23 09:15:28 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-05-05 13:31:22 -07:00
2011-05-19 10:55:54 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-08-23 15:19:45 -07:00
2011-05-30 01:08:32 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-05-05 12:43:11 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-08-16 12:41:13 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-06-20 13:00:54 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-03-11 10:59:16 -05:00
2011-08-16 11:41:28 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-08-24 12:16:58 -07:00
2011-08-03 10:32:54 -07:00
2011-03-11 10:59:16 -05:00
2010-10-13 19:10:55 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-01-10 09:09:02 -08:00
2011-03-11 10:59:16 -05:00
2011-07-06 14:26:26 -07:00
2011-04-04 15:02:01 -07:00
2010-07-20 16:59:17 -07:00
2010-07-05 13:39:02 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-07-06 14:26:26 -07:00
2011-08-01 14:44:24 -07:00
2010-09-09 16:17:59 -07:00
2011-08-08 09:30:14 -07:00
2011-05-06 15:12:30 -07:00
2011-02-21 10:24:08 -08:00
2010-10-26 21:54:04 -07:00
2010-06-16 14:45:09 -07:00
2011-05-18 12:40:15 -07:00
2011-07-22 10:38:59 -07:00
2011-04-04 16:43:57 -07:00
2011-04-15 13:28:03 -07:00
2010-07-20 16:59:17 -07:00
2010-11-03 09:20:48 -07:00