On Thursday, 8 September 2022 13:59:43 CEST, Ahmad Samir wrote:
From the git-archive manual page:
«git archive behaves differently when given a tree ID versus
when given a commit ID or tag ID. In the first case the current
time is used as the modification time of each file in the
archive. In the latter case the commit time as recorded in the
referenced commit object is used instead. Additionally the
commit ID is stored in a global extended pax header if the tar
format is used; it can be extracted using git get-tar-commit-id.
In ZIP files it is stored as a file comment.»
Before anybody tries that *now*, at least for Gear the tarballs are
currently created with git archive --remote=kde:$repo $branch ..
So they currently won't have that information.
Regards,
Heiko