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

Re: Importing from tarballs; add, rm, update-index?

From
Horst H. von Brand <vonbrand@inf.utfsm.cl>
Date
Jan 13, 2007, 22:04 UTC
Message-ID
<200701132204.l0DM4jpE010938@laptop13.inf.utfsm.cl>
In-Reply-To
<spearce@spearce.org>
Shawn O. Pearce <spearce@spearce.org> wrote:
Show 11 quoted lines
> "Horst H. von Brand" <vonbrand@inf.utfsm.cl> wrote:
> > Please don't. It would add e.g. the .class and .o and all ~ files, and all
> > other junk you have lying around (test cases, test run output, ...). It
> > isn't /that/ much more work after creating a new file to record its
> > existence...
> 
>   echo \*.class >>.gitignore
>   echo \*.o >>.gitignore
>   git add .gitignore
> 
> doesn't work for some reason?

Because each time I build a bit of scaffolding, or have a new test output, or... I'd have to add them to .gitignore. I'd very much prefer tracking real contents and not junk.

-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513
Next: Horst H. von Brand
Message 1 of 3 in “Re: Importing from tarballs; add, rm, update-index?”
  1. Horst H. von BrandJan 13, 2007
  2. Horst H. von BrandJan 14, 2007
  3. Horst H. von BrandJan 15, 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.