vcs icon indicating copy to clipboard operation
vcs copied to clipboard

Update git.go

Open R-omk opened this issue 7 years ago • 4 comments

fix bug with auto line endings, which leads to uncleared status of repo https://help.github.com/articles/dealing-with-line-endings/#per-repository-settings

R-omk avatar Feb 02 '18 13:02 R-omk

:white_check_mark: Build vcs build-87.master completed (commit https://github.com/Masterminds/vcs/commit/96c76f96aa by @R-omk)

AppVeyorBot avatar Feb 02 '18 13:02 AppVeyorBot

@R-omk thanks for the PR. If you rebase from master the CI error should be gone.

Can you fill me in a little on your use case for this? Is this for windows cases where core.autocrlf isn't set to true?

mattfarina avatar Apr 03 '18 01:04 mattfarina

@mattfarina just try

cd /tmp 
git clone https://github.com/kataras/iris.git
cd iris
git checkout v8.4.0
git status

it leads to unclear state of repository and prevent next checkout without force flag.

R-omk avatar Apr 04 '18 14:04 R-omk

:white_check_mark: Build vcs build-93.master completed (commit https://github.com/Masterminds/vcs/commit/eb962edd39 by @R-omk)

AppVeyorBot avatar Apr 04 '18 15:04 AppVeyorBot