Re: Add + Status patches
- From
Petr Baudis <pasky@ucw.cz>
- Date
- Apr 18, 2005, 22:35 UTC
- Message-ID
- <20050418223529.GK5554@pasky.ji.cz>
- In-Reply-To
- <42643224.60407@dgreaves.com>
Dear diary, on Tue, Apr 19, 2005 at 12:18:12AM CEST, I got a letter where David Greaves <david@dgreaves.com> told me that...
Show 17 quoted lines
> Junio C Hamano wrote: > > >DG> It allows: > >DG> find src -type f | git add - > > > >I am slow today, but have you considered using xargs? > > > > > > > yep thanks :) > I know you _could_ do it with xargs - but you _could_ use the raw git > commands too. This is a "be nice to the user" layer and I was > 'surprised' that neither > git add . > nor > git add -r . > worked.
Actually, when I saw your patch, the xargs solution rushed through my mind but I thought that '-' might be practical too. Thinking about it, I couldn't come up with anything. So, what about instead making git add . to work? ;-)
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor