[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] RFC: kill app.prog_name
From: |
Zack Weinberg |
Subject: |
[Monotone-devel] RFC: kill app.prog_name |
Date: |
Tue, 22 Aug 2006 19:39:15 -0700 |
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.
zw
no-app-prog-name.diff
Description: Text Data
- [Monotone-devel] RFC: kill app.prog_name,
Zack Weinberg <=