Re: Git log of all (modifying) commands run on a repo?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 8, 2007, 00:50 UTC
- Message-ID
- <7vmz3p321n.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0702080140230.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 12 quoted lines
>> Well, you would not know if the user gave you '-g' before you >> ask setup_revisions() to parse the options, and once you let it >> do its thing, you would not know if it also found an explicit >> output format given by the end user, so your cannot sanely make >> default depend on '-g'. >> >> I suspect that it would have to be either somewhat involved or >> outright hacky. > > Well, we could always make CMIT_FMT_DEFAULT _not_be the same as _MEDIUM, > and if it still is the same _after_ parsing the options, set it to MEDIUM > explicitely. Same goes for the abbrev thing.
I think we are in agreement. I showed an outright hacky one because I am not ready to do somewhat involved one at the end of the rc period.