tg-tag.sh: allow "anonymous" stashes
commit7e94bebe9d2fd6b21ebc7a1c2937cae74aef0303
authorKyle J. McKay <mackyle@gmail.com>
Mon, 23 Jan 2017 15:04:06 +0000 (23 07:04 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 23 Jan 2017 15:04:06 +0000 (23 07:04 -0800)
tree9f0b083a7a3fe458bee749083596fc04f5c8f739
parentf73524a1ce908ff266cec75049d815ccad3b1c7f
tg-tag.sh: allow "anonymous" stashes

These work just like "--stash" except they use "--anonymous" instead
and store the result in the bare ref "TG_STASH".

They are not expected to be persistent or particularly visible to
end users or pushable.

Rather the anonymous stash provides an internal mechanism to quietly
save a stash even if the user asked for "--no-stash" so that they
can actually recover.

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