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>

Michael Haggerty committed Aug 4, 2011 at 06:36 UTC 7373eab48e284a808cde766831172d3447f9e320
1 file changed +1 -2
attr.c
+1 -2
@@ -565,8 +565,7 @@ static void prepare_attr_stack(const char *path)
565 * .gitattributes in deeper directories to shallower ones,
566 * and finally use the built-in set as the default.
567 */
568 - if (!attr_stack)
569 - bootstrap_attr_stack();
568 + bootstrap_attr_stack();
569
570 /*
571 * Pop the "info" one that is always at the top of the stack.