mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 09:58:01 +00:00
build: Add gitattribute file to build-aux
The command: `make check-tabs` fails on Windows due to line ending conversions caused by the following setting: `git config --global core.autocrlf true` (the whitelist `build-aux/initial-tab-whitelist` becomes a blacklist) This patch adds a .gittatribute file to build-aux to force LF endings on Windows. Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org> Co-authored-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Aaron Conole <aconole@redhat.com> Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
parent
7c1ccbd1fb
commit
3c921cc2b6
1
.gitignore
vendored
1
.gitignore
vendored
@ -31,7 +31,6 @@
|
|||||||
.libs
|
.libs
|
||||||
.tmp_versions
|
.tmp_versions
|
||||||
.vagrant
|
.vagrant
|
||||||
.gitattributes
|
|
||||||
/Makefile
|
/Makefile
|
||||||
/Makefile.in
|
/Makefile.in
|
||||||
/aclocal.m4
|
/aclocal.m4
|
||||||
|
@ -199,6 +199,7 @@ dist-hook-git: distfiles
|
|||||||
(cat distfiles; sed 's|^|datapath/|' datapath/distfiles) | \
|
(cat distfiles; sed 's|^|datapath/|' datapath/distfiles) | \
|
||||||
LC_ALL=C sort -u > all-distfiles; \
|
LC_ALL=C sort -u > all-distfiles; \
|
||||||
(cd $(srcdir) && git ls-files) | grep -v '\.gitignore$$' | \
|
(cd $(srcdir) && git ls-files) | grep -v '\.gitignore$$' | \
|
||||||
|
grep -v '\.gitattributes$$' | \
|
||||||
LC_ALL=C sort -u > all-gitfiles; \
|
LC_ALL=C sort -u > all-gitfiles; \
|
||||||
LC_ALL=C comm -1 -3 all-distfiles all-gitfiles > missing-distfiles; \
|
LC_ALL=C comm -1 -3 all-distfiles all-gitfiles > missing-distfiles; \
|
||||||
if test -s missing-distfiles; then \
|
if test -s missing-distfiles; then \
|
||||||
|
1
build-aux/.gitattributes
vendored
Normal file
1
build-aux/.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
* text eol=lf
|
Loading…
x
Reference in New Issue
Block a user