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

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
Previous: David GreavesNext: David Greaves
Message 2 of 8 in “Add + Status patches”
  1. David GreavesApr 18, 2005
  2. Petr BaudisApr 18, 2005
  3. 1/1 add, rm + status patchesDavid Greaves, Apr 18, 2005
  4. Petr BaudisApr 18, 2005
  5. Junio C HamanoApr 18, 2005
  6. David GreavesApr 18, 2005
  7. Junio C HamanoApr 18, 2005
  8. Petr BaudisApr 18, 2005

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.