Modify

Opened 18 months ago

#23038 new defect

Minimal Git version pre-req

Reported by: mouse Owned by: developers
Priority: low Milestone:
Component: other Version: Trunk
Keywords: Cc:

Description

The include/prereq-build.mk doesn't really checking git version.
I have 1.7.9 and it passes checks while during the build process I've got on micropython checkout the following error:

Cloning into 'micropython-1.5-20151122-4120f32292090bd811165fe76780e4e74e3450b9'...
remote: Counting objects: 43445, done.
remote: Compressing objects: 100% (60/60), done.
remote: Total 43445 (delta 36), reused 0 (delta 0), pack-reused 43385
Receiving objects: 100% (43445/43445), 25.79 MiB | 3.35 MiB/s, done.
Resolving deltas: 100% (31230/31230), done.
error: Your local changes to the following files would be overwritten by checkout:
        lib/fatfs/option/ccsbcs.c
        stmhal/hal/f4/src/stm32f4xx_hal_i2c.c
Please, commit your changes or stash them before you can switch branches.
Aborting

This happens due to CRLF auto conversion (set in .gitattributes in micropython tree) that not handled correctly on old style git.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.