]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'nd/dir-exclude-cleanup' into maint
authorJunio C Hamano <gitster@pobox.com>
Fri, 5 Feb 2016 22:54:08 +0000 (14:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Feb 2016 22:54:08 +0000 (14:54 -0800)
commitaf3e464a60d43ebf0431aa291014d32983a502e2
tree94e590591ad14a98e1e301b1a31f61827e38d46f
parentd6998341d8806a1625d375025fecb95346b7dd6d
parent2653a8c6fa0466828061a3132421cf13a5d6d924
Merge branch 'nd/dir-exclude-cleanup' into maint

The "exclude_list" structure has the usual "alloc, nr" pair of
fields to be used by ALLOC_GROW(), but clear_exclude_list() forgot
to reset 'alloc' to 0 when it cleared 'nr' to discard the managed
array.

* nd/dir-exclude-cleanup:
  dir.c: clean the entire struct in clear_exclude_list()
dir.c