Makefile: use git-archive --add-file
commitdf368fae35ce23f5b373cd567595063997bdb61c
authorRené Scharfe <l.s.r@web.de>
Sat, 19 Sep 2020 21:23:50 +0000 (19 23:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Sep 2020 22:56:06 +0000 (19 15:56 -0700)
tree1fb15f19b0063af1f31d2a38381a62625784a3b9
parent2947a7930d2864cfbc3f9815959cd6539e2ea9ad
Makefile: use git-archive --add-file

Add untracked files for the dist target directly using git archive
instead of calling tar cr to append them.  This reduces the dependency
on external tools and gives the untracked files the same access times
and user information as tracked ones, integrating them seamlessly.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile