git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Brian Downing
Message 3 of 3 in “git archive ignores .gitignored files?”
  1. Brian DowningJul 26, 2007
  2. Brian DowningJul 26, 2007
  3. Brian DowningJul 26, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.