Skip to content

Commit

Permalink
builtin/clean.c: Use STRING_LIST_INIT_NODUP.
Browse files Browse the repository at this point in the history
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Thiago Farina authored and Junio C Hamano committed Sep 6, 2010
1 parent 2c76c3f commit bdab6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/clean.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit bdab6a5

Please sign in to comment.