summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-08-03 15:30:20 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-03 09:46:11 -0700
commit04e0869876f726d5af9ac901911781d440e6aed2 (patch)
treedff4aa7981ed756d4efb81c7ecb96c14d0e3f790 /read-cache.c
parentGit 2.6.6 (diff)
downloadtgif-04e0869876f726d5af9ac901911781d440e6aed2.tar.xz
import-tars: support hard links
Previously, we simply treated hard links as if they were plain files with size 0, ignoring the link type "1" and hence the link target. What we should do instead, of course, is to use the link target to get at the import mark for the contents, even if we cannot recreate the hard link per se, as Git has no concept of hard links. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
0 files changed, 0 insertions, 0 deletions