From: Petr Baudis Date: Sun, 29 May 2005 18:46:42 GMT Subject: Re: [COGITO PATCH] Allow file list for cg-add through stdin 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 told me that... > 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