Skip to contentSkip to conversation

Add an option for git-archive to output commit ID in alternative ways

RFC roylee17 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore

roylee17

author
#0 lore raw

Hi,

Consider the following use case:
Regularly building projects which are untar'ed on-the-fly with git-archive
without intermediate tar balls.

How can I track back which commit IDs were those source code git-archive from?

I'd like to to add an option for git-archive to output the commit ID in alternative ways in addition
to only store it inside the tar ball. Any comment?

Regards,
Roy

Signature · 2 lines
View this message in context: http://n2.nabble.com/-RFC--Add-an-option-for-git-archive-to-output-commit-ID-in-alternative-ways-tp2414580p2414580.html
Sent from the git mailing list archive at Nabble.com.
#1 lore raw
Quoted 6 lines · roylee17 <[email protected]> writes:

Consider the following use case:
Regularly building projects which are untar'ed on-the-fly with git-archive
without intermediate tar balls.

How can I track back which commit IDs were those source code git-archive from?

Run "man gitattributes" and look for export-subst?

author
#2 lore raw
Quoted 8 lines · Junio C Hamano
Quoted 5 lines · roylee17 <[email protected]> writes:

Consider the following use case:
Regularly building projects which are untar'ed on-the-fly with
git-archive
without intermediate tar balls.

Quoted 6 lines
Quoted 2 lines

How can I track back which commit IDs were those source code git-archive from?

Run "man gitattributes" and look for export-subst?

Really nice feature, thanks.

Signature · 2 lines
View this message in context: http://n2.nabble.com/-RFC--Add-an-option-for-git-archive-to-output-commit-ID-in-alternative-ways-tp2414580p2416431.html
Sent from the git mailing list archive at Nabble.com.