All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: nospam@codegnome.org
Cc: git@vger.kernel.org
Subject: Re: git-archive ignores export-ignore
Date: Thu, 21 Jan 2010 16:57:39 -0800	[thread overview]
Message-ID: <7vocknhs70.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <20100121221312.GB5307@penguin.codegnome.org> (Todd A. Jacobs's message of "Thu\, 21 Jan 2010 14\:13\:12 -0800")

"Todd A. Jacobs" <nospam@codegnome.org> writes:

> Using git 1.6.4.2, the manual page prophesies that:
>
>     Files and directories with the attribute export-ignore won't be
>     added to archive files. See gitattributes(5) for details.
>
> However, various tools seem to be unhappy about this attribute. In
> particular, checkout complains about invalid attributes:
>
>     $ cat .gitattributes
>     *.py export-subst
>     *.html export-subst
>     juniperxml.cfg export-ignore
>
>     $ git checkout juniperxml.cfg
>     export-ignore is not a valid attribute name: .gitattributes:3

    $ cat .gitattributes
    * whitespace=!indent,trail,space
    *.[ch] whitespace=indent,trail,space
    *.sh whitespace=indent,trail,space
    COPYING export-ignore
    $ git checkout COPYING
    $ wc -l COPYING
    360 COPYING

There is something that is different in my failed attempt to reproduce it
from your problem description, but I cannot tell what it is.

Do you have some garbage character immediately after "e" in "-ignore"?

  reply	other threads:[~2010-01-22  0:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21 22:13 git-archive ignores export-ignore Todd A. Jacobs
2010-01-22  0:57 ` Junio C Hamano [this message]
2010-01-22 18:07   ` Todd A. Jacobs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vocknhs70.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=nospam@codegnome.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.