author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 26 Jan 2007 07:02:09 +0000 (02:02 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 26 Jan 2007 07:02:09 +0000 (02:02 -0500) | ||
commit | bc7452f5e7c0c472bc580e2e00d84f31d1af50ce | |
tree | 1e1f2f2194ed371b88ccb15a0e572ae51834dbb6 | tree | snapshot |
parent | 6c3d1481bab96659a80771194d935cb6db02300e | commit | diff |
git-gui: Use builtin version of 'git gc'.
Technically the new git-gc command is strictly Porcelain; its invoking
multiple plumbing commands to do its work. Since git-gui tries to not
rely on Porclain we shouldn't be invoking git-gc directly, instead we
should perform its tasks on our own.
To make this easy I've created console_chain, which takes a list of
tasks to perform and runs them all in the same console window. If
any individual task fails then the chain stops running and the window
shows a failure bar. Only once all tasks have been completed will it
invoke console_done with a successful status.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Technically the new git-gc command is strictly Porcelain; its invoking
multiple plumbing commands to do its work. Since git-gui tries to not
rely on Porclain we shouldn't be invoking git-gc directly, instead we
should perform its tasks on our own.
To make this easy I've created console_chain, which takes a list of
tasks to perform and runs them all in the same console window. If
any individual task fails then the chain stops running and the window
shows a failure bar. Only once all tasks have been completed will it
invoke console_done with a successful status.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history |