pcreux/git-branch-delete-orphans — pull request #11 by pvdb (2014-03-10 13:18:41+00:00)
Title: Only prompt for action when running interactively

Hey @pcreux,

This small change to the script only prompts the uses for an action _(ie. "keep" or "delete")_ if the script is run interactively.

This is useful when running it as part of a shell script, for instance, in which case it only prints out the orphaned branches, without - indefinitely - waiting for the user to provide a reply.

Thanks, @pvdb