Code

cleanup unpack-trees.c: shrink struct tree_entry_list
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Tue, 24 Jul 2007 21:54:25 +0000 (23:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jul 2007 00:28:10 +0000 (17:28 -0700)
commit1843d8d545de0e94dc4c7d3c9125fb47a99962c4
tree08a132c95c8c6e165143419dbc5f59f6706047fb
parent24d00634948452d0bec1b373b6a2eb9145fc8bfc
cleanup unpack-trees.c: shrink struct tree_entry_list

Remove the two write-only fields executable and symlink from struct
tree_entry_list.  Also replace usage of the field directory with
S_ISDIR checks on the mode field, and then remove this now obsolete
field, too.  Noticed by David Kastrup.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
unpack-trees.c