Skip to content

Conversation

@Ryooooooga
Copy link
Contributor

@Ryooooooga Ryooooooga commented Jan 27, 2023

  • PR Description

fix #1467

  1. git switch --detach
  2. LANG=zh_CN.UTF-8 lazygit branch
  3. n (new branch) and type something
  4. enter
before スクリーンショット 2023-01-27 20 15 27 スクリーンショット 2023-01-27 20 15 35
after スクリーンショット 2023-01-27 20 15 59 スクリーンショット 2023-01-27 20 16 10
  • Please check if the PR fulfills these requirements
  • Cheatsheets are up-to-date (run go run scripts/cheatsheet/main.go generate)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • Docs (specifically docs/Config.md) have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2023

Uffizzi Preview Environment deployment-12481

☁️ https://app.uffizzi.com/github.com/jesseduffield/lazygit/pull/2398

📄 View Application Logs etc.

What is Uffizzi? Learn more

@jesseduffield
Copy link
Owner

Makes sense, nice work!

@jesseduffield jesseduffield merged commit f79a8c2 into jesseduffield:master Jan 29, 2023
@Ryooooooga Ryooooooga deleted the fix-detached-head branch January 29, 2023 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CurrentBranchName() get wrong name when head detached and git's language is not english

2 participants