[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] RFC: kill app.prog_name
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] RFC: kill app.prog_name |
Date: |
Tue, 22 Aug 2006 21:59:26 -0700 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
On Tue, Aug 22, 2006 at 07:39:15PM -0700, Zack Weinberg wrote:
> We've got a copy of (cleaned up) argv[0] in two places - ui.prog_name
> and app.prog_name. This is silly. It seems to me that argv[0] is,
> like clog, the sort of thing there is only ever one of, and so it
> belongs in the ui object, not the app object. (also, in branches i
> have code that would like not to pass app around, but needs it _just_
> for prog_name. :)
>
> so here's the patch that makes it so. also i removed some junk code
> from monotone.cc -- it looks like it came back in the bpo merge.
Looks fine, of course...
-- Nathaniel
--
Eternity is very long, especially towards the end.
-- Woody Allen