Skip to content
This repository was archived by the owner on Jul 14, 2023. It is now read-only.
This repository was archived by the owner on Jul 14, 2023. It is now read-only.

Does not honor system setting core.autocrlf on windows #215

@ccoenen

Description

@ccoenen

The Situation

I am using classroom assistant on windows, and Git defaults to changing around white space from \n to \r\n - which I think is a bad idea but that part is not your fault.

I set my git up in a way to never change any files on its own via git config --system core.autocrlf=false. This way I'm getting exactly the same file contents across all systems.

The Problem

When cloning a bunch of repositories through the classroom assistant, this setting is not being used, This has two disadvantages:

  • (obviously) I don't get the exact files that were committed or that I expected
  • my IDE (that does honor the autocrlf setting now (correctly) notifies me that files have been changed.

Basically, right after cloning, my IDE looks like this:
grafik

The two repos that are not marked as changed (do not have the ember dot) are two that I cloned manually to verify that these are not identical.

What I would like instead

I would love it if classroom would either use the system's git settings (especially autocrlf). Or, if this is not possible, that there's a easily discoverable way to change github classroom's settings. I don't care if this is a GUI way to change it, or if I need to edit a config file or something like that. I just need to be able to find the correct way of configuring next time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions