Re: EOL handling (EGit/svn/Windows)
- From
Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
- Date
- Feb 11, 2015, 15:51 UTC
- Message-ID
- <CAA01CsrJv8HmtNG6XAHZm5Hk8x8S_vFCYPz8vCtwBwd9-GAykg@mail.gmail.com>
- In-Reply-To
- <54D99BED.8010005@web.de>
On Tue, Feb 10, 2015 at 6:49 AM, Torsten Bögershausen <tboegi@web.de> wrote:
> add that to the repo, do the normalization and push.
I did LF normalization over history. Looks like everything worked correctly, just wondering, what does the WARNING mean?
$ git filter-branch --tree-filter '~/fix-eol.sh' -d /dev/shm/repo-tmp -- --all Rewrite 4eab51b65af61d2b0e56f9990cc14be1e1372194 (13349/13349) Ref 'refs/heads/master' was rewritten Ref 'refs/remotes/origin/master' was rewritten WARNING: Ref 'refs/remotes/origin/master' is unchanged
$ cat ~/fix-eol.sh find . -type f \! -path ./.git/\* -print0 | xargs -0 dos2unix --keepdate 2>/dev/null
-- Piotr Krukowiecki