Re: What's cooking in git.git (Sep 2020, #05; Fri, 18)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



René Scharfe <l.s.r@xxxxxx> writes:

> Am 19.09.20 um 03:41 schrieb Junio C Hamano:
>> * jc/dist-tarball-tweak (2020-09-09) 1 commit
>>   (merged to 'next' on 2020-09-10 at 36cbe7ee9e)
>>  + Makefile: allow extra tweaking of distribution tarball
>>
>>  Allow maintainers to tweak $(TAR) invocations done while making
>>  distribution tarballs.
>
> Just noticed this one.  It reminds me of an alternative solution for
> archives containing both tracked and untracked files gathering dust on
> my disk because I didn't see much demand.  It goes the other way and
> gives untracked files the same meta data as tracked ones.  Interested?
>
>   archive: read short blobs in archive.c::write_archive_entry()
>   archive: add --add-file
>   Makefile: use git-archive --add-file

Oooh, so is the idea that we do not have to use $(TAR) to append
untracked ones to "git archive" output, etc.?  If we can get rid of
all $(TAR) invocations from the build procedure, that would be an
interesting addition.

;-)

>
>  Documentation/git-archive.txt |   6 ++
>  Makefile                      |  41 ++++++------
>  archive-tar.c                 |  22 +------
>  archive-zip.c                 |  22 ++-----
>  archive.c                     | 117 +++++++++++++++++++++++++++++++---
>  archive.h                     |   9 ++-
>  t/t5000-tar-tree.sh           |  29 +++++++++
>  t/t5003-archive-zip.sh        |  28 ++++++++
>  8 files changed, 203 insertions(+), 71 deletions(-)
>
> --
> 2.28.0




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux