Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 364
    • Issues 364
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • 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
  • #864
Closed
Open
Created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Show log crashes when commit with "encoding" in comment exists

By jakub.raj... on August 18, 2011 12:47 (imported from Google Code)


What steps will reproduce the problem?
1.Create commit with comment: "encoding"
2.Show log

What is the expected output? What do you see instead?
TortoiseGit shows small window with request to send dump file.

What version of the product are you using? On what operating system?
TortoiseGit 1.7.2.0 64bit; Windows 7 Prof. SP1 x64

The problem is in parsing header of commit. "Encoding" is expected as a keyword in header of commit with detailed info about commit encoding.

e.g.
-----------------------------------------------------------------
tree c41224ec217a0b11dedd1225ee09f2ae74a981d0
parent a2a698bebdf2c9582fa9f8f23af0b10a75d60b47
author Jakub Rajman <jakub.rajman@gmail.com> 1313666616 +0200
committer Jakub Rajman <jakub.rajman@gmail.com> 1313666616 +0200
encoding ISO-8859-1

comment of commit
-----------------------------------------------------------------

But if encoding missing in header and is presented in comment of commit then show log doesnt work.

e.g.
-----------------------------------------------------------------
tree c41224ec217a0b11dedd1225ee09f2ae74a981d0
parent a2a698bebdf2c9582fa9f8f23af0b10a75d60b47
author Jakub Rajman <jakub.rajman@gmail.com> 1313666616 +0200
committer Jakub Rajman <jakub.rajman@gmail.com> 1313666616 +0200

encoding comment of commit
-----------------------------------------------------------------

In attached file is patch for FIX of this issue.


Fix-Show-log-issue-when-encoding-is-at-the-begining-.patch

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