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

Re: New script: cg-clean

From
Petr Baudis <pasky@suse.cz>
Date
Jul 10, 2005, 15:46 UTC
Message-ID
<20050710154618.GF24249@pasky.ji.cz>
In-Reply-To
<1120862084.17812.6.camel@dv>

Dear diary, on Sat, Jul 09, 2005 at 12:34:44AM CEST, I got a letter where Pavel Roskin <proski@gnu.org> told me that...

> Hello, Petr!
Hello,
> Please consider this script for Cogito.
> 
> Signed-off-by: Pavel Roskin <proski@gnu.org>

the script is definitively interesting, but I have couple of notes about it first:

(i) -i sounds wrong for anything but being interactive here ;-) What about -A?

(ii) I'm confused - if -a is all of the above, how do I clean _only_ regular files, and only those not ignored by cg-status?

(iii) Makes it any sense to remove only special files?

(iv) -r implies being recursive, but it has nothing to do with that here.

(v) Semantically, I think it's quite close to cg-reset. What about making it part of cg-reset instead of a separate command? I tend to be careful about command inflation. (That's part of being careful about the usability in general.) That's just an idea and possibly a bad one, what do you think?

Thanks,
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
<Espy> be careful, some twit might quote you out of context..
Previous: Wolfgang DenkNext: Pavel Roskin
Message 3 of 8 in “New script: cg-clean”
  1. Pavel RoskinJul 8, 2005
  2. Wolfgang DenkJul 8, 2005
  3. Petr BaudisJul 10, 2005
  4. Pavel RoskinAug 6, 2005
  5. Petr BaudisAug 11, 2005
  6. Pavel RoskinAug 12, 2005
  7. Petr BaudisAug 12, 2005
  8. Pavel RoskinAug 12, 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.