summaryrefslogtreecommitdiff
path: root/Documentation/gitrevisions.txt
diff options
context:
space:
mode:
authorLibravatar Eric Wong <e@80x24.org>2019-12-26 10:42:20 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-12-26 11:57:46 -0800
commit4e61b2214d333a47ec56eb0806be1774f7ac1b7d (patch)
treeab2b5a7e1003c35757865432b2632e9427d169f7 /Documentation/gitrevisions.txt
parentpackfile: remove redundant fcntl F_GETFD/F_SETFD (diff)
downloadtgif-4e61b2214d333a47ec56eb0806be1774f7ac1b7d.tar.xz
packfile: replace lseek+read with pread
We already have pread emulation for portability, so there's there's no reason to make two syscalls where one suffices. Furthermore, readers of the packfile will be using mmap (or pread to emulate mmap), anyways, so the file description offset does not matter in this case. Signed-off-by: Eric Wong <e@80x24.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitrevisions.txt')
0 files changed, 0 insertions, 0 deletions