While doing my best to misuse gitool here is what happened ...
1. To try out gitool I did the following:
$ mkdir gitool
$ cd gitool
$ git init-db
$ wget http://ozlabs.org/~paulus/gitool
$ git add gitool
Oops, forgot to make it executable ...
$ chmod +x gitool
$ ./gitool
I am a Cogito user, so I am no used to running git-update-index and
this seems to be a problem in this case: can't unset "indexpending(gitool)": no such element in array
can't unset "indexpending(gitool)": no such element in array
while executing
"unset indexpending($f)"
(procedure "readfmod" line 92)
invoked from within
"readfmod file11 0"
2. When closing the window while the "Application Error" is still open
causes the following error: bgerror failed to handle background error.
Original error: can't unset "indexpending(gitool)": no such element in array
Error in bgerror: can't invoke "grab" command: application has been destroyed
bgerror failed to handle background error.
Original error: invalid command name ".ptop.comm.t"
Error in bgerror: can't invoke "tk" command: application has been destroyed
Maybe it should be ignored.
3. Finally, I find the difference between clicking on a file name
versus clicking on a file icon a bit strange. I continue on the
example above, first modifying gitool and then creating a new file,
so a file is listed both under "Modified files" and "Untracked/new
files". 1. Click on the file name of the modified file to see the diff
in the content buffer.
2. Click on the file icon of the untracked file to add it. State
shows "Added" and the content buffer is cleared.
I have to press the file name to see the content of the added file.
Maybe it should show the content regardless of whether the file name
or icon was pressed.