zerok / mre-go-git-win-permissions

Minimal Reproducible Example: go-git issue with executable files on Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains (alongside this README) a single script file that has executable permissions. It should serve as example for an issue in go-git when used on Windows where the permissions of that script are reset to 0644 (from 0755) and the file is therefore marked as modified when running git status.

How to use

git clone https://github.com/zerok/mre-go-git-win-permissions.git
cd mre-go-git-win-permissions
go run .

About

Minimal Reproducible Example: go-git issue with executable files on Windows


Languages

Language:Go 100.0%