summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1719b5e)
raw | patch | inline | side by side (parent: 1719b5e)
author | Pierre Habouzit <madcoder@debian.org> | |
Tue, 22 Jul 2008 05:32:53 +0000 (22:32 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 22 Jul 2008 05:32:53 +0000 (22:32 -0700) |
The parameter that is eventually passed to read_directory() to scan the
working tree should be properly initialized.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
working tree should be properly initialized.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-merge.c | patch | blob | history |
diff --git a/builtin-merge.c b/builtin-merge.c
index 0fd7985a112231ba164ed3ba408519d6ce732071..8825dcf8d9c4cce3fa0321a808877237d05d4f5a 100644 (file)
--- a/builtin-merge.c
+++ b/builtin-merge.c
memset(&trees, 0, sizeof(trees));
memset(&opts, 0, sizeof(opts));
memset(&t, 0, sizeof(t));
+ memset(&dir, 0, sizeof(dir));
dir.show_ignored = 1;
dir.exclude_per_dir = ".gitignore";
opts.dir = &dir;