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

Re: [PATCH 1/2] Make git blame's date output format configurable, like git log

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 23, 2009, 16:33 UTC
Message-ID
<7v3ae5un84.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20090222230358.GA19011@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 15 quoted lines
> On Fri, Feb 20, 2009 at 02:51:11PM -0800, eletuchy@gmail.com wrote:
>
>> @@ -1975,6 +1975,9 @@ static int git_blame_config(const char *var, const char *value, void *cb)
>>  		blank_boundary = git_config_bool(var, value);
>>  		return 0;
>>  	}
>> +	if (!strcmp(var, "blame.date") && value[0]) {
>> +		blame_date_mode = parse_date_format(value);
>> +	}
>>  	return git_default_config(var, value, cb);
>>  }
>
> When there is a config value we are expecting to have a value rather
> than a boolean, we usually print an error rather than silently
> discarding.
Oops, missed that.  Yes, this needs fixing.
Thanks.
Previous: Jeff King
Message 6 of 6 in “Make git blame's date output format configurable, like git log”
  1. 1/2 Make git blame's date output format configurable, like git logeletuchy@gmail.com, Feb 20, 2009
  2. Junio C HamanoFeb 22, 2009
  3. Jeff KingFeb 22, 2009
  4. Eugene LetuchyFeb 23, 2009
  5. Jeff KingFeb 24, 2009
  6. Junio C HamanoFeb 23, 2009

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.