diff options
author | Jeff King <peff@peff.net> | 2021-02-09 05:52:45 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-09 13:36:06 -0800 |
commit | 3803a3a0993045605d7f3db363188ce377e917c8 (patch) | |
tree | 4b286c6f84cd701b5aaa3ad2956411764de5ae7f /t/t3320-notes-merge-worktrees.sh | |
parent | Sync with 2.30.1 (diff) | |
download | tgif-3803a3a0993045605d7f3db363188ce377e917c8.tar.xz |
t: add --no-tag option to test_commit
One of the conveniences that test_commit offers is making a tag for each
commit. This makes it easy to refer to the commits in subsequent
commands. But it can also be a pain if you care about reachability,
because those tags keep the commits reachable even if they are rewound
from the branch they're made on.
The alternative is that scripts have to call test_tick, git-add, and
git-commit themselves. Let's add a --no-tag option to give them the
one-liner convenience of using test_commit.
This is in preparation for the next patch, which will add some more
calls. But I cleaned up an existing site to show off the feature. There
are probably more cleanups possible.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3320-notes-merge-worktrees.sh')
0 files changed, 0 insertions, 0 deletions