Skip to content

Commit

Permalink
Suppress subcommand output by default (#26)
Browse files Browse the repository at this point in the history
For large or busy repositories, stack-pr commands can generate hundreds
of lines of output from Git subcommands being executed. Most of the time
these don't matter; the user doesn't care about them. This PR suppresses
them by default by redirecting stdout and stderr to
`subprocess.DEVNULL`. If this output is desired in a specific case, the
command-line flag `--verbose` (`-V`) can be used to avoid this
redirection.
  • Loading branch information
AmaranthineCodices authored Oct 5, 2024
1 parent 3161fcb commit a2af242
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 88 deletions.
Loading

0 comments on commit a2af242

Please sign in to comment.