git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [RFC] Add an option for git-archive to output commit ID in alternative ways
@ 2009-03-03 11:15 roylee17
  2009-03-03 15:44 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: roylee17 @ 2009-03-03 11:15 UTC (permalink / raw
  To: git


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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC] Add an option for git-archive to output commit ID in alternative ways
  2009-03-03 11:15 [RFC] Add an option for git-archive to output commit ID in alternative ways roylee17
@ 2009-03-03 15:44 ` Junio C Hamano
  2009-03-03 16:51   ` roylee17
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2009-03-03 15:44 UTC (permalink / raw
  To: roylee17; +Cc: git

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC] Add an option for git-archive to output commit ID in alternative ways
  2009-03-03 15:44 ` Junio C Hamano
@ 2009-03-03 16:51   ` roylee17
  0 siblings, 0 replies; 3+ messages in thread
From: roylee17 @ 2009-03-03 16:51 UTC (permalink / raw
  To: git




Junio C Hamano wrote:
> 
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-03 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03 11:15 [RFC] Add an option for git-archive to output commit ID in alternative ways roylee17
2009-03-03 15:44 ` Junio C Hamano
2009-03-03 16:51   ` roylee17

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).