summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2010-09-06 20:32:55 -0300
committerJunio C Hamano <gitster@pobox.com>2010-09-06 16:56:51 -0700
commitbdab6a59cf078a3cf50d36afa439814f7eb96f3e (patch)
tree6b74898a0a42dcc4170536b56c171090ce140718 /builtin
parent2c76c3fecee688f88440db4167813cc25efd0388 (diff)
downloadgit-bdab6a59cf078a3cf50d36afa439814f7eb96f3e.tar.gz
builtin/clean.c: Use STRING_LIST_INIT_NODUP.
Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/clean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clean.c b/builtin/clean.c
index b508d2cab4..c8798f549e 100644
--- a/builtin/clean.c
+++ b/builtin/clean.c
@@ -44,7 +44,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
struct dir_struct dir;
static const char **pathspec;
struct strbuf buf = STRBUF_INIT;
- struct string_list exclude_list = { NULL, 0, 0, 0 };
+ struct string_list exclude_list = STRING_LIST_INIT_NODUP;
const char *qname;
char *seen = NULL;
struct option options[] = {