Browse Source
Add a static initializer for struct checkout and use it throughout the code base. It's shorter, avoids a memset(3) call and makes sure the base_dir member is initialized to a valid (empty) string. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
René Scharfe
8 years ago
committed by
Junio C Hamano
5 changed files with 5 additions and 9 deletions
Loading…
Reference in new issue