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

Re: [COGITO PATCH] Allow file list for cg-add through stdin

From
Petr Baudis <pasky@ucw.cz>
Date
May 29, 2005, 18:46 UTC
Message-ID
<20050529184642.GL1036@pasky.ji.cz>
In-Reply-To
<429A0818.6080807@roemling.net>

Dear diary, on Sun, May 29, 2005 at 08:21:12PM CEST, I got a letter where Jochen Roemling <jochen@roemling.net> told me that...

Show 16 quoted lines
> Petr Baudis wrote:
> 
> >>how is the preferred way to add a whole new directory to a 
> >>git-repository using cogito?
> >>Currently cg-add expects all new files on the command line.
> >>The following patch allows to feed files through stdin, which allows to do
> >>
> >>  find mynewdir -type f | cg-add -
> >>   
> >>
> >
> >if you really want to do that, pass it through xargs...
> >
> > 
> >
> We have 32° in this room and my xargs must have been melted down.
It's awfully hot here too. :/
> How could I forget about one of my favorite commands?
> I promise I will not post to this list anymore today to avoid a bigger mess.

But a patch for cg-add processing directories recursively would be great anyway... ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: Petr BaudisNext: Jochen Roemling
Message 3 of 4 in “Allow file list for cg-add through stdin”
  1. Allow file list for cg-add through stdinJochen Roemling, May 29, 2005
  2. Petr BaudisMay 29, 2005
  3. Petr BaudisMay 29, 2005
  4. Jochen RoemlingMay 29, 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.