Re: Adding a new file as if it had existed
- From
- Bahadir Balban <bahadir.balban@gmail.com>
- Date
- Dec 12, 2006, 11:32 UTC
- Message-ID
- <7ac1e90c0612120332o20d6778bsa16a788fdc04a3a1@mail.gmail.com>
- In-Reply-To
- <7vhcw1whfx.fsf@assigned-by-dhcp.cox.net>
On 12/12/06, Junio C Hamano <junkio@cox.net> wrote:
Show 6 quoted lines
> 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, then I am obliged to add all the files even if they are irrelevant. 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.