summaryrefslogtreecommitdiff
path: root/git-commit-script
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-01-26 01:29:00 -0500
committerShawn O. Pearce <spearce@spearce.org>2007-01-26 01:29:00 -0500
commit6c3d1481bab96659a80771194d935cb6db02300e (patch)
tree82c2fedb15cd3751009bb5ce3e3d4a7019fd40fe /git-commit-script
parentb972ea59e422588963bda7be8e04c59728accadf (diff)
git-gui: Refactor console success/failure handling.
Because I want to be able to run multiple output-producing commands in a single 'console' window within git-gui I'm refactoring the console handling routines to require the "after" argument of console_exec. This should specify a procedure to execute which will receive two args, the first is the console window handle and the second is the status of the last command (0 on failure, 1 on success). A new procedure console_done can be passed to the last console_exec command to forward perform all cleanup and enable the Close button. Its status argument is used to update the final status bar on the bottom of the console window. This isn't any real logic changing, and no new functionality is in this patch. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-commit-script')
0 files changed, 0 insertions, 0 deletions