From: Junio C Hamano Date: Fri, 06 Mar 2009 08:58:33 GMT Subject: Re: orthogonal cases of log --date option Message-ID: <7vk573t4cm.fsf@gitster.siamese.dyndns.org> In-Reply-To: <76718490903060031u2bbc5c08k6a635dcdb1c8bc32@mail.gmail.com> Jay Soffian writes: > Yeah, that part is easy. I wasn't sure the best way to handle places > where a constant date_mode is used e.g.: > > pp_user_info(NULL, CMIT_FMT_EMAIL, &sb, committer, DATE_RFC2822, > encoding); One approach that will be hated by libgit2 effort would be to keep the date_mode an enum as before (sans DATE_LOCAL) and make the "tz_offset" thing as a setting global to the process, defined in environ.c