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>
This commit is contained in:

committed by
Junio C Hamano

parent
2c76c3fece
commit
bdab6a59cf
@ -44,7 +44,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
|
|||||||
struct dir_struct dir;
|
struct dir_struct dir;
|
||||||
static const char **pathspec;
|
static const char **pathspec;
|
||||||
struct strbuf buf = STRBUF_INIT;
|
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;
|
const char *qname;
|
||||||
char *seen = NULL;
|
char *seen = NULL;
|
||||||
struct option options[] = {
|
struct option options[] = {
|
||||||
|
Reference in New Issue
Block a user