Log Messages caches file stats against /shown/ parent instead of actual parent
By atna... on June 02, 2010 04:43 (imported from Google Code)
What steps will reproduce the problem?
Preparation:
I. Open the Log Messages dialog.
II. Uncheck "All Branches", "Show Whole Project" and "First Parent".
III. Close the Log Messages dialog.
Step the reproduce:
- Commit changes to files in a subdirectory. (e.g. "Folder2")
- Commit changes to files in a different subdirectory. (e.g. "Folder1")
- "Show log" inside "Folder1" and select the last commit.
What is the expected output? What do you see instead?
Expected: The bottom pane shows files committed in step 2.
Instead: The bottom pane shows files committed in step 1 and 2.
What version of the product are you using? On what operating system?
TortoiseGit 1.4.4.0
git version 1.7.0.2.msysgit.0
Please provide any additional information below.
I'm attaching a sample repository to reproduce the issue.
(Note: This is slightly different to the attachment in issue #449 (closed))
Steps:
-
Extract the zip file.
-
Run "amend_3.bat" to perform "step 2" above.
-
Right click on "Folder1" and select "Show log".
-
Selecting the last commit should look like bad_result.gif.
-
Close "Log Messages" then right click in "TestRepo" and select "Show log".
-
Selecting the last commit will still show the bad result.
-
Run "amend_3.bat" again.
-
Right click in "TestRepo" and select "Show log".
-
Selecting the last commit should look like good_result.gif.
-
Close "Log Messages" then right click in "Folder1" and select "Show log".
-
Selecting the last commit will still show the proper result.