diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-03-20 14:30:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-20 14:30:51 -0700 |
commit | de2e3b04cd70a22016561547530f980c66807641 (patch) | |
tree | fc842c0e91cff12f3c84f3da0f85042d937ec19e /builtin-read-tree.c | |
parent | 5645b021177d000bc8b2971aa73b82b62413ee20 (diff) | |
parent | 2fb6d6d6dd1033bfe82d6d327ac270f9cf8943cd (diff) | |
download | git-de2e3b04cd70a22016561547530f980c66807641.tar.gz |
Merge branch 'mv/parseopt-ls-files'
* mv/parseopt-ls-files:
ls-files: fix broken --no-empty-directory
t3000: use test_cmp instead of diff
parse-opt: migrate builtin-ls-files.
Turn the flags in struct dir_struct into a single variable
Conflicts:
builtin-ls-files.c
t/t3000-ls-files-others.sh
Diffstat (limited to 'builtin-read-tree.c')
-rw-r--r-- | builtin-read-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-read-tree.c b/builtin-read-tree.c index 38fef34d3f..8e0273864d 100644 --- a/builtin-read-tree.c +++ b/builtin-read-tree.c @@ -170,7 +170,7 @@ int cmd_read_tree(int argc, const char **argv, const char *unused_prefix) die("more than one --exclude-per-directory are given."); dir = xcalloc(1, sizeof(*opts.dir)); - dir->show_ignored = 1; + dir->flags |= DIR_SHOW_IGNORED; dir->exclude_per_dir = arg + 24; opts.dir = dir; /* We do not need to nor want to do read-directory |