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
  • #1051
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Commit doesn't normalize line endings

By jakub.raj... on January 23, 2012 15:38 (imported from Google Code)


What steps will reproduce the problem?

1.Set some source files to be normalized

in .gitattribues add these lines:
*.cpp text=auto
*.h text=auto
*.txt text=auto
*.xml text=auto

2.Have setted AutoCRLF option
3.Create new file on windows with CRLF line-endings
4.Commit file with Tortoise
5.Look how is file stored in repository

In repository should be stored file in normalized format (with LF line-endings), but file is not normalized.

With TortoiseGit 1.7.4.0 everything works fine
With TortioseGit 1.7.6.0 file is not normalized

OS: Windows 7 x64 Prof with SP1

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