TortoiseGIT not listing all files modified in a commit in its log window.

276 views
Skip to first unread message

Jurko Gospodnetić

unread,
Apr 20, 2013, 8:23:15 AM4/20/13
to torto...@googlegroups.com
Hi.

I have a repository with a commit that does something like this:

starting position:
  /
     Documentation/
          readme.txt
     Something/
          ...lots of files and folders here...

renames Something to SomethingElse, renames several files underneath, adds some, removes some and modifies some
it also modifies the Documentation/readme.txt file

Now when I look at that commit in the log dialog opened from the top level project folder I see only the files under 'SomethingElse' listed as added or renamed or whatever, but it does not list the Documentation/readme.txt file as changed or any of the Something/... files as removed.

On the other hand, if I show the log window on the Documentation folder and view the same commit - I see all those files listed as well.
Also, when listing the files affected by the commit on the command-line (git diff-tree --no-commit-id --name-only -r df7081) I get all the files listed as well.

So it seems to me that git correctly recorded which files got changed and how but TortoiseGit is somehow not presenting the commit contents correctly.

Unfortunately code contained in the problematic repository is proprietary so I can not send it out directly as an example. I tried reproducing the problem in a dummy repository and could not. I also tried committing the project state before this commit in a separate repository and then committing just the problematic commit into it but that failed to reproduce the problem as well. :-( If anyone can suggest something else I can try to reproduce the problem in some dummy project - please let me know and I'd be happy to try it. I can also possibly set up shared remote access to a computer on which the problem can be reproduced, if some developer is interested into looking into this.

Version information:
TortoiseGit 1.8.2.0
git version 1.8.1.msysgit.1 (C:\Program Files (x86)\Git\bin)
Windows 7

Hope this helps.

Best regards,
   Jurko Gospodnetić

Jurko Gospodnetić

unread,
Apr 20, 2013, 8:31:57 AM4/20/13
to torto...@googlegroups.com

Now when I look at that commit in the log dialog opened from the top level project folder I see only the files under 'SomethingElse' listed as added or renamed or whatever, but it does not list the Documentation/readme.txt file as changed or any of the Something/... files as removed.

On the other hand, if I show the log window on the Documentation folder and view the same commit - I see all those files listed as well.
Also, when listing the files affected by the commit on the command-line (git diff-tree --no-commit-id --name-only -r df7081) I get all the files listed as well.

So it seems to me that git correctly recorded which files got changed and how but TortoiseGit is somehow not presenting the commit contents correctly.
 
Just a few updates:
  - when I use the 'Compare with previous version' menu item on the problematic commit, I get the correct and expected results but the log window underneath still lists only some of the affected files.
  - behaviour is not affected by any of the checkboxes presented at the bottom of the log dialog
  - behaviour is not affected by refreshing the dialog data (F5 or the Refresh button)
Reply all
Reply to author
Forward
0 new messages