author | Paul Mackerras <paulus@samba.org> | |
Tue, 26 Jun 2007 01:09:49 +0000 (11:09 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Tue, 26 Jun 2007 01:14:06 +0000 (11:14 +1000) | ||
commit | 706d6c3e76fc5f7f988b056015689b489eb8f6b5 | |
tree | db99eae8e86004adcb7121b1a284621e18360d19 | tree | snapshot |
parent | 9396cd385ad47f9ecb440221bbff4514f4378f7f | commit | diff |
gitk: Add a progress bar to show progress while resetting
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>
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>
gitk | diff | blob | history |