Remove redundant check

bootstrap_attr_stack() also checks whether attr_stack is already set.

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:22 +02:00 committed by Junio C Hamano
parent cd93bffb91
commit 7373eab48e

1
attr.c
View File

@ -565,7 +565,6 @@ static void prepare_attr_stack(const char *path)
* .gitattributes in deeper directories to shallower ones,
* and finally use the built-in set as the default.
*/
if (!attr_stack)
bootstrap_attr_stack();
/*