Re: Add + Status patches
- From
Petr Baudis <pasky@ucw.cz>
- Date
- Apr 18, 2005, 20:48 UTC
- Message-ID
- <20050418204814.GF5554@pasky.ji.cz>
- In-Reply-To
- <42641AE4.9050700@dgreaves.com>
Dear diary, on Mon, Apr 18, 2005 at 10:39:00PM CEST, I got a letter where David Greaves <david@dgreaves.com> told me that...
> Hi Petr
Hi,
Show 9 quoted lines
> Thankyou for the help earlier - problem resolved. > > I have a trivial patch (attached). > > It allows: > find src -type f | git add - > > and fixes git status not reporting added files properly (on my debian > system it only reported the first file in .git/add-queue)
Thanks. Could you please send the patches signed off and either with content-disposition: inline or in the mail body?
I think it would be cleaner to do the testing for the dash in the for loop, so that I can do git add foo bar -. Also, don't forget to update git add's documentation at the top. For the usage string, I'd probably prefer (-|FILE)...
thanks,
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor