Re: [PATCH] show_date(): rename the "relative" parameter to "mode"
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Feb 27, 2007, 21:41 UTC
- Message-ID
- <Pine.LNX.4.64.0702271339550.12485@woody.linux-foundation.org>
- In-Reply-To
- <Pine.LNX.4.63.0702271620390.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Tue, 27 Feb 2007, Johannes Schindelin wrote:
Show 7 quoted lines
> > Now, show_date() can print three different kinds of dates: normal, > relative and short (%Y-%m-%s) dates. > > To achieve this, the "int relative" was changed to "enum date_mode > mode", which has three states: DATE_NORMAL, DATE_RELATIVE and > DATE_SHORT.
Ack. I think this kind of thing is worth it regardless of any of the other issues (ie the whole "changelog" thing).
Linus