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, 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
Previous: Junio C Hamano
Message 8 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.