projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c76c3f
)
builtin/clean.c: Use STRING_LIST_INIT_NODUP.
author
Thiago Farina
<tfransosi@gmail.com>
Mon, 6 Sep 2010 23:32:55 +0000
(20:32 -0300)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 6 Sep 2010 23:56:51 +0000
(16:56 -0700)
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clean.c
patch
|
blob
|
history
diff --git
a/builtin/clean.c
b/builtin/clean.c
index b508d2cab482dffc97be1e8ee0481a6bb6157cf2..c8798f549ed12192a098ab90b35c0437b8059351 100644
(file)
--- 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[] = {