Re: git archive ignores .gitignored files?
- From
Brian Downing <bdowning@lavos.net>
- Date
- Jul 26, 2007, 17:54 UTC
- Message-ID
- <20070726175407.GT21692@lavos.net>
- In-Reply-To
- <20070726173635.GS21692@lavos.net>
On Thu, Jul 26, 2007 at 12:36:35PM -0500, Brian Downing wrote:
> On Thu, Jul 26, 2007 at 12:32:06PM -0500, Brian Downing wrote: > > git archive seems to not output files marked in .gitignore. > > Never mind; it is "git add" that ignored the file. Oops.
For what it's worth, if I do (in the git tree):
mkdir foo touch foo/file mkdir foo/git-daemon touch foo/git-daemon/file
"git add foo" does not produce any warnings that "foo/git-daemon" was ignored. If "foo/file" does not exist it warns that "foo" was not added.
-bcd