gitk: Add a progress bar to show progress while resetting
authorPaul Mackerras <paulus@samba.org>
Tue, 26 Jun 2007 01:09:49 +0000 (11:09 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 26 Jun 2007 01:14:06 +0000 (11:14 +1000)
Since git reset now gets chatty while resetting, we were getting errors
reported when a reset was done using the "reset branch to here" menu
item. With this we now read the progress messages from git reset and
update a progress bar. Because git reset outputs the progress messages
to standard error, and Tcl treats messages to standard error as error
messages, we have to invoke git reset via a shell and redirect standard
error into standard output.

This also fixes a bug in computing descendent heads when head ids
are changed via a reset.

Signed-off-by: Paul Mackerras <paulus@samba.org>
No differences found