Re: filter-branch --env-filter GIT_AUTHOR_DATE
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jan 19, 2011, 07:01 UTC
- Message-ID
- <4D368C49.3080105@viscovery.net>
- In-Reply-To
- <AANLkTinx7cs6YTvSTTv-njHA+vk264u1EaJettSdBF9U@mail.gmail.com>
Am 1/18/2011 17:43, schrieb Tuncer Ayaz:
Show 6 quoted lines
> To fix invalid timezone info in a repo I ran
> git filter-branch --env-filter '
> GIT_AUTHOR_DATE=`echo ${GIT_AUTHOR_DATE}|sed s/+0000/-0800/`' HEAD
>
> This fixed the invalid entries but the new timezone is -0700
> instead of -0800. Is this expected?Parse error. You fixed it, but it is not fixed? So what?
What do you mean by "the new timezone is"? Do you mean "...is reported as"? If so, reported by which tools?
> git version 1.7.4.rc2
I tried your command, but the timezone was changed in the expected way.
-- Hannes