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

"Show changes as unified diff" on "Working dir changes" show inverted diff operation.

By goo...@myrosoft.com on May 10, 2013 09:58 (imported from Google Code)


What steps will reproduce the problem?

  1. Open TortoiseGit and selected in the list the "Working dir changes"
  2. Ask the context menu "Show changes as unified diff"

What is the expected output? What do you see instead?
it shows the result of
diff --git b/filename.cpp a/filename.cpp
^ ^
in stead of, which seems more logical to me,
diff --git a/filename.cpp b/filename.cpp
^ <--> ^
which you get if, you first select the "Working dir changes" and the last commit.

What version of TortoiseGit and msysgit are you using? On
what operating system?
TortoiseGit 1.8.3.0 (C:\Program Files\TortoiseGit\bin\TortoiseGitProc.exe)
git version 1.7.11.msysgit.1 (C:\Program Files (x86)\Git\bin)
Windows 7.

Please provide any additional information below.

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