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

Re: [PATCH] Simplify code outputting relative timestamps in git log

From
Nikolai Weibull <now@bitwi.se>
Date
Aug 27, 2006, 14:27 UTC
Message-ID
<dbfc82860608270727w783688ecva69013e2437c7729@mail.gmail.com>
In-Reply-To
<11566886081901-git-send-email-now@bitwi.se>
On 8/27/06, Nikolai Weibull <now@bitwi.se> wrote:
> From: Nikolai Weibull <now@puritan.pcp.ath.cx>
Hm...why is format-patch not using user.email?
> The code that outputs relative timestamps is repetitive and can be
> simplified by using an array to deal with the various cutoffs.  This makes
> it easier to modify and remove the cutoffs if we in the future desire to do
> so.

I just realized that I forgot to update the cutoffs to those in the repository. I was playing around with other cutoffs. I'll send a new patch if it is of any interest.

  nikolai
Previous: Nikolai Weibull
Message 2 of 2 in “Simplify code outputting relative timestamps in git log”
  1. Simplify code outputting relative timestamps in git logNikolai Weibull, Aug 27, 2006
  2. Nikolai WeibullAug 27, 2006

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.