tg-summary: introduce --with-related option
commit1fb93ca2330d9e3c50838c533f70617c645da291
authorKyle J. McKay <mackyle@gmail.com>
Sun, 18 Jun 2017 06:09:49 +0000 (17 23:09 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 18 Jun 2017 06:09:49 +0000 (17 23:09 -0700)
tree149e5598a73a8983c6b16bb3149dcd5ce809f0dd
parent59e806f20abcca4c34e2a0138bd3dc297c48fb8b
tg-summary: introduce --with-related option

The --with-related option extends (and implies) --with-deps
but before performing the "--with-deps" operation a preliminary
"--topgit-heads" step is first performed.

When --with-deps is implied and a single branch name has been
specified (either explicitly or implicitly) and it's spelled
EXACTLY either "HEAD" or "@" then the implicit default is promoted
to --with-related instead of --with-deps.  This is a DWIM trick.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
README
tg-summary.sh