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

Renaming file with differences only in casing doesn't work

By blamey.... on July 21, 2011 09:49 (imported from Google Code)


What steps will reproduce the problem?

  1. Commit file 'foo.txt'
  2. Attempt to rename 'foo.txt' to 'Foo.txt' using TortoiseGit Context Menu

What is the expected output? What do you see instead?

I would expect to rename my file, and then have a pending change.

Instead a get an error message like this:

"fatal: destination exists, source=foo.xml, destination=Foo.xml"

What version of the product are you using? On what operating system?

Windows 7 Home Premium. Build 7601: SP 1.
TortoiseGit 1.6.5.0
git version 1.7.3.1.mysysgit.0

Please provide any additional information below.
Can workaround by making two changes,
e.g. 'foo.txt' -> 'Foo.txt2' -> 'Foo.txt' -> commit.

I encountered the problem because Java checks that the filenames have the right casing.

Thanks & Kind Regards

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