List for cgit developers and users
 help / color / mirror / Atom feed
* cgit: fix for .gitattributes/export-subst
       [not found] <CABS_=cFK7Oy+hirF3u2k6YZEFst4x7KYtfni+=WtMXp+SKXo=w@mail.gmail.com>
@ 2012-03-18  9:32 ` hjemli
  0 siblings, 0 replies; only message in thread
From: hjemli @ 2012-03-18  9:32 UTC (permalink / raw)


On Tue, Jan 17, 2012 at 01:55, Tim Labath <tim.labath at gmail.com> wrote:
> I encountered an issue where replacement strings specified by
> .gitattributes/export-subst for?git archive output?are not being
> generated/replaced by ui-snapshot.c.
>
> For example 'foo.py':
>
> commit_hash = "$Format:%H$"
>
> with '.gitattributes':
>
> foo.py export-subst
>
> ~/repo-dir$ git archive --o../archive.zip HEAD
>
> should output archive.zip with 'foo.py':
>
> commit_hash = "<SHA1 of HEAD>"
>
>
> Attached is a diff that implements the correct behavior. This code is based
> on the git/archive.c function?parse_treeish_arg.

Thanks, will apply to the wip-branch for testing.

-- 
larsh




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-18  9:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CABS_=cFK7Oy+hirF3u2k6YZEFst4x7KYtfni+=WtMXp+SKXo=w@mail.gmail.com>
2012-03-18  9:32 ` cgit: fix for .gitattributes/export-subst hjemli

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 NNTP newsgroup(s).