Re: [PATCH] git-gui: Localize commit/author dates when displaying them

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: <git@...>
Date: Tuesday, September 11, 2007 - 12:42 am

Junio C Hamano <gitster@pobox.com> wrote:

Raw timestamps would be easiest.

But this is for-each-ref, not git-log.  Its %(authortime) macro in
the --format string does not support any sort of date formatting
options.  So uh, no, --pretty=format won't help me here.

I'd have to make code changes to for-each-ref to allow control
of how timestamps are output.  Then I'd have to put magic flags
into git-gui to see what version of git I'm using and assume if
the flag will work or not.  And if it won't then I still have to
fall back into the current Jan/Feb/Mar code that I have right now.

So I'm actually not inclined right now to fix for-each-ref.  But I
probably should.  Its going on my "Git todo pile".  Which as
everyone on this list knows is currently about 10x what I can
actually accomplish in my natural lifetime.  ;-)

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] git-gui: Localize commit/author dates when displ..., Shawn O. Pearce, (Tue Sep 11, 12:42 am)