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

Re: Adding a new file as if it had existed

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 12, 2006, 12:07 UTC
Message-ID
<Pine.LNX.4.63.0612121305430.2807@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7ac1e90c0612120332o20d6778bsa16a788fdc04a3a1@mail.gmail.com>
Hi,
On Tue, 12 Dec 2006, Bahadir Balban wrote:
Show 10 quoted lines
> On 12/12/06, Junio C Hamano <junkio@cox.net> wrote:
> > No.
> > 
> > I do not understand why not adding all the files you care about
> > eventually anyway in the initial commit is needed for
> > "performance reasons", if you do not touch majority of them for
> > a long time.  Care to explain?
> 
> If I don't know which files I may be touching in the future for
> implementing some feature,

When I use an SCM, it is to track the revisions of a project. It seems you are content to have only parts of a revision? That does not make sense to me.

> I said "performance reasons" assuming all the file hashes need checked 
> for every commit -a to see if they're changed, but I just tried on a 
> PIII and it seems not so slow.
Bingo!
You just felt the consequences of the "index".

Ciao, Dscho

Previous: Bahadir BalbanNext: Andy Parkins
Message 4 of 11 in “Adding a new file as if it had existed”
  1. Bahadir BalbanDec 12, 2006
  2. Junio C HamanoDec 12, 2006
  3. Bahadir BalbanDec 12, 2006
  4. Johannes SchindelinDec 12, 2006
  5. Andy ParkinsDec 12, 2006
  6. Andreas EricssonDec 12, 2006
  7. Junio C HamanoDec 12, 2006
  8. Andreas EricssonDec 13, 2006
  9. Johannes SchindelinDec 13, 2006
  10. Andreas EricssonDec 13, 2006
  11. Jakub NarebskiDec 12, 2006

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.