Re: [RFC PATCH 0/1] adding user.hideTimezone for setting UTC timezone
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 30, 2020, 23:53 UTC
- Message-ID
- <xmqqlfgqes95.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20200930232138.3656304-1-shengfa@google.com>
Shengfa Lin <shengfa@google.com> writes:
> Discussed with Jonathan and Junio regarding whether we should support > letting user specify timezone or restricted to UTC only. There was no > defnite conclusion.
I do not think was involved in that part of the discussion to consider UTC vs custom zone, though.
What I said is that git () { TZ=UTC command git "$@" } is simple enough that I doubt it is worth the engineering effort to either read configuration file early (which is tricky) so that setenv() can be done early in cmd_main() and/or audit the codebase widely enough (which is time consuming) to make sure that we pay attention to the configuration variable in all codepaths that matter to do the setenv().