Remove redundant call to bootstrap_attr_stack()

prepare_attr_stack() does the same thing.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Michael Haggerty 2011-08-04 06:36:21 +02:00 committed by Junio C Hamano
parent 2d72174492
commit cd93bffb91

1
attr.c
View File

@ -722,7 +722,6 @@ static void collect_all_attrs(const char *path)
struct attr_stack *stk;
int i, pathlen, rem;
bootstrap_attr_stack();
prepare_attr_stack(path);
for (i = 0; i < attr_nr; i++)
check_all_attr[i].value = ATTR__UNKNOWN;