diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-09-06 16:57:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-06 16:57:05 -0700 |
commit | 79d532c36a5d275ed237e196f36054f3c45d70aa (patch) | |
tree | d4a8148f182e575356d6877d57ddae71ec70d680 /builtin | |
parent | c2e0940b44ded03f0af02be95c35b231fea633c1 (diff) | |
parent | bdab6a59cf078a3cf50d36afa439814f7eb96f3e (diff) | |
download | git-79d532c36a5d275ed237e196f36054f3c45d70aa.tar.gz git-79d532c36a5d275ed237e196f36054f3c45d70aa.tar.xz |
Merge branch 'jh/clean-exclude'
* jh/clean-exclude:
builtin/clean.c: Use STRING_LIST_INIT_NODUP.
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/clean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clean.c b/builtin/clean.c index b508d2cab..c8798f549 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[] = { |