Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #1112
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

rebase corrupt commit message

By Borisov.Ger... on March 15, 2012 06:52 (imported from Google Code)


What steps will reproduce the problem?

  1. Make commit with message, included some non-ascii chars.
    for example: "Какой-то текст" (en: "Some text")
  2. Rebase it commit to other branch
  3. Look to log. Message was changed to "Какой-то тексС"

What version of the product are you using? On what operating system?
TortoiseGit 1.7.7.0, git version 1.7.4, Windows 2003 Russin localization with win 1251 codepage.

Please provide any additional information below.
I have extract git objects before and after rebase.
Before rebase commit contained this bytes: CA E0 EA EE E9 2D F2 EE 20 F2 E5 EA F1 F2 (hex). It is my message in WIN-1251 singlebyte codepage.
After it transformed to: D0 9A D0 B0 D0 BA D0 BE D0 B9 2D D1 82 D0 BE 20 D1 82 D0 B5 D0 BA D1 81 D1. It is look like my message, transformed to UTF-8 mulitbyte codepage.
But log still show it as WIN-1251.

I think, rebase window improperly work with text as UTF-8, but other part of Tortoise work with it as befault Windows codepage

For all ASCII characters all windows singlebyte codepages and UTF-8 have identical binary codes, and this problem not reproduce with English text.

PS sorry for my English.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking