Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
TortoiseGit
TortoiseGit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 302
    • Issues 302
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #735

Closed
Open
Created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Log generates file stats from shown parent instead of actual parent

By atna... on March 02, 2011 01:28 (imported from Google Code)


What steps will reproduce the problem?
Preparation: (Create a test repo using the following commands)
mkdir foo && cd foo && git init
echo.>foo.txt && git add -A && git commit -m 1
mkdir bar && echo.>bar\bar.txt && git add -A && git commit -m 2

("foo" and "bar" below refer to the directories created by the commands above.)

  1. Show Log from foo's context-menu and check the file stats for commit "2".
  2. Run 'git commit --amend -C HEAD' to avoid TortoiseGit's cache.
  3. Show Log from bar's context-menu and check the file stats for commit "2".

What is the expected output? What do you see instead?
Expected (and result of Step 1):
Added: bar\bar.txt

Instead (result of Step 3):
Added: bar\bar.txt, foo.txt

What version of the product are you using? On what operating system?
TortoiseGit 1.6.5 32-bit
msysgit 1.7.4

Please provide any additional information below.
This is similar to issue #450 (closed) except the problem only occurs when commit "2" contains only additions.

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