This repository was archived by the owner on Sep 11, 2020. It is now read-only.
This repository was archived by the owner on Sep 11, 2020. It is now read-only.
in Windows, pulling from repo that has symlinks results in ErrUnstagedChanges #801
Open
Description
Steps to reproduce:
- Create a repo with symlinks on github (or other git repo host)
- On Windows machine, use
_examples/clone/main.go
to clone the repo- I ran as Administrator
- I modified source to set
CloneOptions.Auth
- Without using clone from previous step, push a new commit to the repo
- Back on Windows machine, use
_examples/pull/main.go
to pull just-pushed commit- I ran as Administrator
- I modified source to set
PullOptions.Auth
- Notice
worktree contains unstaged changes
error message
Seems to be Windows-specific, since I could not reproduce on Linux (CentOS), with same modified source.
details:
- go version go1.10 windows/amd64
- Windows 10 Version 1709 (OS Build 16299.309)
- gopkg.in/src-d/go-git.v4