Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3197

Bad generated path while renaming file with changing folder

What steps will reproduce the problem?

You have a project file system like this :

mainFolder / appFolder / subfolderA / fileToMove.txt

mainFolder / appFolder / subfolderB

mainFolder / appFolder / subfolderC

You want to move "fileToMove.txt" from subfolderA to subfolderC and rename it to "subfolderC/newFileName.txt" Then you right click on the file and do "TortoiseGit/rename".

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

After selecting the new path/filename in the "rename box" it should generate "../subfolderC/newFileName.txt" path/file but it currently generate "../mainFolder/app/subfolderC/newFileName" folder. It will fail, unless you manually correct the path in the field before validating it.

What version of TortoiseGit and Git are you using? On what operating system?

TortoiseGit 2.6.0.0 for windows (7 x64 pro)

Please provide any additional information below.

no more to say

Edited Apr 06, 2018 by Yannick Bigot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking