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 382
    • Issues 382
    • 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
  • #3028
Closed
Open
Issue created Jul 21, 2017 by Vachirakorn Rungsikawanich@charshu

Error when using TortoiseGit cli diff command with new added file in commit

What steps will reproduce the problem?

  1. run command diff on new added file. /command:diff /startrev:(current revision) /endrev:(previous revision) /path:(file path)

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

I expect output to be like compare in TortoiseGit, see picture here hN55y Instead, an error says, failed to checkout file "files/powershell/App_BuildAndDeploy.ps1" of revision 62f7869c1780e6501ec1c4dc0387f03efbde10da to "C:\Users\ME\AppData\Local\Temp\TortoiseGit\AppAAD3.tmp\App_BuildAndDeploy- 62f7869-left.ps1" libgit2 returned:the path 'App_BuildAndDeploy.ps1' does not exist in the given tree

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

TortoiseGit 1.8.16.0 (C:\Program Files\TortoiseGit\bin) git version 2.13.1.windows.2 (C:\Program Files\Git\bin; C:\Program Files\Git\mingw64; C:\ProgramData\Git\config)

Please provide any additional information below.

if there are any update, please also let me know in this post. https://stackoverflow.com/questions/45141011/error-when-using-tortoisegit-diff-command-with-new-added-file-in-commit?noredirect=1#comment77329224_45141011

Edited Jul 21, 2017 by Sven Strickroth
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking