#!/usr/bin/env sh
# Have the forge delete a branch when its merge lands, so keeping the trunk
# the sole long-lived branch costs no one a habit; the method's setup
# chapter owns the reasoning. The setting is project-wide, so it holds
# whichever merge verb the operator uses, and it never touches a branch
# whose merge has not landed.
project=""
# The forge CLI may pretty-print JSON; stripping whitespace makes every
# pattern below hold for the compact and the pretty form alike, and no
# value a pattern touches can carry whitespace of its own.
| |