diff options
author | Jeff King <peff@peff.net> | 2018-06-22 05:23:59 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-22 13:19:33 -0700 |
commit | 7687f19e939dd8c9a2a67ede31b019092f0a1ccf (patch) | |
tree | 2bde22a58070b5077c5477d65781fb96a8519547 /t/t4209-log-pickaxe.sh | |
parent | t3200: unset core.logallrefupdates when testing reflog creation (diff) | |
download | tgif-7687f19e939dd8c9a2a67ede31b019092f0a1ccf.tar.xz |
t: switch "branch -l" to "branch --create-reflog"
In preparation for deprecating "-l", let's make sure we're
using the recommended option ourselves.
This patch just mechanically converts "branch -l" to "branch
--create-reflog". Note that with the exception of the
actual "--create-reflog" test, we could actually remove "-l"
entirely from most of these callers. That's because these
days core.logallrefupdates defaults to true in a non-bare
repository.
I've left them in place, though, since they serve to
document the expectation of the test, even if they are
technically noops.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4209-log-pickaxe.sh')
0 files changed, 0 insertions, 0 deletions