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

Re: [PATCH] blame: Add --time to produce raw timestamps

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 12, 2006, 22:41 UTC
Message-ID
<Pine.LNX.4.63.0606130038370.25422@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<20060612214210.22342.46844.stgit@c165>
Hi,
On Mon, 12 Jun 2006, Fredrik Kuivinen wrote:
Show 10 quoted lines
> diff --git a/blame.c b/blame.c
> index 88bfec2..afa22b5 100644
> --- a/blame.c
> +++ b/blame.c
> @@ -20,9 +20,11 @@ #include "xdiff-interface.h"
>  
>  #define DEBUG 0
>  
> -static const char blame_usage[] = "[-c] [-l] [--] file [commit]\n"
> +static const char blame_usage[] = "[-c] [-l] [-t] [-S <revs-file>] [--] file [commit]\n"
That is a bit more than the commit message says.
> +        "  -t, --time        Show raw timestamp (Default: off)\n"
> +	"  -S, --revs-file   Use revisions from revs-file instead of calling git-rev-list\n"
I smell white space corruption here.
> +			       int raw_time)

Just a tiny nit: could you name it "show_raw_time" instead of "raw_time"? I got confused by that naming into believeing raw_time was actually a timestamp, not a boolean...

Ciao, Dscho

Previous: Fredrik KuivinenNext: Fredrik Kuivinen
Message 2 of 3 in “blame: Add --time to produce raw timestamps”
  1. blame: Add --time to produce raw timestampsFredrik Kuivinen, Jun 12, 2006
  2. Johannes SchindelinJun 12, 2006
  3. Fredrik KuivinenJun 13, 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.