I just cloned a fresh copy of micropython and gets a lots of files marked as modified in the stmhal and lib directories, all are CRLF inconsistency.
Do I need to configure git? I've tried to play with "autocrlf" in my .gitconfig but it's not helping.
edit:
I had an old git (v1.7.10.4) who did not handle the .gitattribute file, updating git solved my problem.
crlf troubles on linux
-
- Posts: 1
- Joined: Thu Oct 06, 2016 8:16 am
Re: crlf troubles on linux
Facing the same issue. Any help?
Re: crlf troubles on linux
I'm running ubuntu 16.04 and I just checked out a fresh tree and I'm not seeing any issues.
I'm running git 2.7.4. My ~/.gitconfig looks like:
I'm running git 2.7.4. My ~/.gitconfig looks like:
Code: Select all
[color]
diff = auto
status = auto
branch = auto
ui = auto
[user]
name = Dave Hylands
email = dhylands@gmail.com
[core]
editor = vi
pager = less -FRXS
[alias]
status-report = !sh -c \"git log --pretty='%C(yellow)%h%Creset %cn %Cgreen%cr%Creset %s'\" | grep Hylands
summary-report = !sh -c \"git log --pretty='%C(yellow)%h%Creset %cn %Cgreen%cr%Creset %s'\"
[branch]
autosetuprebase = always
[merge]
tool = meld
[diff]
guitool = meld
tool = meld
[push]
default = simple