Re: GitAttributes feature export-ignore works, but -export-ignore (with dash) should also work

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

 



On Thu, Nov 21, 2019 at 07:45:44AM -0800, M Lewis wrote:

> Thank you for taking this on. I tried your suggestion copied below. The
> 'needed_a' (and _b) directories appear in the archive but unfortunately they
> are empty. We need the contents of the directories in the archive.

Ah, I assumed they were files. You should be able to handle that by
setting and clearing the attributes using the "**" syntax. Something
like:

  /subdir/** export-ignore
  /subdir/keep/ -export-ignore
  /subdir/keep/** -export-ignore

would work to re-enable "one" and all of its contents. Or if everything
you want to toggle is at the top-level of the subdirectory, you can use
"*" to avoid assigning export-ignore to all of the recursive paths in
the first place, like:

  /subdir/* export-ignore
  /subdir/keep/ -export-ignore

-Peff



[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]

  Powered by Linux