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

“Show changes as unified diff” compares files in reverse order.

By sideproj... on June 09, 2010 16:14 (imported from Google Code)


What steps will reproduce the problem?

  1. Open the "Log Messages"
  2. Select two changes
  3. Right click and choose "Show changes as unified diff"
  4. The resulting diff shows changes from new->old (backwards) instead of old->new.

What is the expected output? What do you see instead:
I would expect to see '+' next to the lines that I added and '-' next to lines that I removed instead of the other way around.

What version of the product are you using? On what operating system:
TortoiseGit 1.4.4.0
Windows XP Pro SP2

Please provide any additional information below:
Attached is a patch that reverses the order of the compare.


udiff.patch

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