author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Tue, 24 Jul 2007 21:54:25 +0000 (23:54 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 Jul 2007 00:28:10 +0000 (17:28 -0700) | ||
commit | 1843d8d545de0e94dc4c7d3c9125fb47a99962c4 | |
tree | 08a132c95c8c6e165143419dbc5f59f6706047fb | tree | snapshot |
parent | 24d00634948452d0bec1b373b6a2eb9145fc8bfc | commit | diff |
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>
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 | diff | blob | history |