Re: git-archive ignores export-ignore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Todd A. Jacobs" <nospam@xxxxxxxxxxxxx> 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"?

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]