threads / rfc / 18105

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

Subject: [RFC] Add an option for git-archive to output commit ID in alternative ways

## tl;dr

3 messages between Mar 3, 2009 and Mar 3, 2009.

replies: 2people: 2as markdown or json

roylee17· Mar 3, 2009, 11:15 UTC · lore
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

-- 
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.
Junio C Hamano· Mar 3, 2009, 15:44 UTC · re: roylee17 · lore

Re: [RFC] Add an option for git-archive to output commit ID in alternative ways

roylee17 <roylee17@gmail.com> writes:
Show 6 quoted lines
> 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?
roylee17· Mar 3, 2009, 16:51 UTC · re: Junio C Hamano · lore

Re: [RFC] Add an option for git-archive to output commit ID in alternative ways

Junio C Hamano wrote:
Show 14 quoted lines
> 
> roylee17 <roylee17@gmail.com> 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?
> 
> 
Really nice feature, thanks.
-- 
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.

← back to recent threads