packfile: remove redundant fcntl F_GETFD/F_SETFD
commit280738c36ebd19076902796cb07950efc749d89b
authorEric Wong <e@80x24.org>
Thu, 26 Dec 2019 10:42:19 +0000 (26 10:42 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Dec 2019 18:09:35 +0000 (26 10:09 -0800)
tree30d28af132ed8a41c8af8d5650998a4838711c90
parentd9589d4051537c387b70dc76e430c61b4c85a86d
packfile: remove redundant fcntl F_GETFD/F_SETFD

git_open sets close-on-exec since cd66ada06588f797
("sha1_file: open window into packfiles with O_CLOEXEC").
There's no reason to keep using fcntl to set the close-on-exec
flag, anymore.

Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
packfile.c