Skip to content

Invalid byte sequence in UTF-8 #850

Description

@anko20094

In rubymine, Windows 11

00:35:49.370: [wardy_bot] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -f -- app/validators/updates/bot_command_validator.rb app/controllers/telegram_webhooks_router.rb app/services/user_panel/profile/chats/moderation/main_service.rb
00:35:49.435: [wardy_bot] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false commit -F C:\Users\Danyil\AppData\Local\Temp\git-commit-msg-.txt --
invalid byte sequence in UTF-8
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/utils/file_utils.rb:67:in `win32_symlink?'
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/utils/file_utils.rb:27:in `symlink?'
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/utils.rb:271:in `broken_symlink?'
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/hook_context/helpers/stash_unstaged_changes.rb:65:in `block in store_modified_times'
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/hook_context/helpers/stash_unstaged_changes.rb:64:in `each'
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/hook_context/helpers/stash_unstaged_changes.rb:64:in `store_modified_times'
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/hook_context/helpers/stash_unstaged_changes.rb:11:in `setup_environment'
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/hook_runner.rb:42:in `block in run'
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/interrupt_handler.rb:86:in `isolate_from_interrupts'
C:/Ruby-on-Windows/3.2.2-1/lib/ruby/gems/3.2.0/gems/overcommit-0.63.0/lib/overcommit/hook_runner.rb:30:in `run'
.git/hooks/pre-commit:87:in `<main>'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions