git archive ignores .gitignored files?

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

 



git archive seems to not output files marked in .gitignore.  I find
this behavior a little perplexing, since it does not create an archive
from the working directory, and if something is committed, even if it
is marked in .gitignore, it should probably wind up in the archive.

The reason I discovered this is that I'm trying to keep a debian build
branch for Git, and the debain/git-daemon directory was mysteriously
missing from anything generated with git archive, as "git-daemon" is
in Git's /.gitignore.

Is this intended behavior?  It seems kind of a misfeature to me.

(Of course it's possible /.gitarchive should have "/git-daemon" rather
than "git-daemon"; that's certainly how I will work around the issue.)

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

  Powered by Linux