git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug report : gitattribute export-ignore behavior does not match documentation
@ 2012-12-01 11:24 Jean-Noël AVILA
  0 siblings, 0 replies; only message in thread
From: Jean-Noël AVILA @ 2012-12-01 11:24 UTC (permalink / raw)
  To: git

Tested on latest maint and master.

The 'export-ignore' gitattribute is documented as behaving on a pattern, just 
like in .gitignore.

In repo where I have a tree like this:

.gitattributes
figures/
fr/figures/

I want to remove from archive all the figures directories. So I added 

figures/ export-ignore 

to the top level .gitattributes file.

but then:

$  git check-attr -a fr/figures
$  git check-attr -a figures
$

If I change the line in .gitattributes to :

figures export-ignore

I get the correct result, but I am not sure to exclude only directories.

Am I wrong somewhere?

Thank you.

Jean-Noël AVILA

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

only message in thread, other threads:[~2012-12-01 11:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-01 11:24 Bug report : gitattribute export-ignore behavior does not match documentation Jean-Noël AVILA

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).