summaryrefslogtreecommitdiff
path: root/Documentation/git-branch.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-06-22 09:23:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-22 20:19:33 (GMT)
commit7687f19e939dd8c9a2a67ede31b019092f0a1ccf (patch)
tree2bde22a58070b5077c5477d65781fb96a8519547 /Documentation/git-branch.txt
parent6b155951510235e7eea77279c7eeea6ac3a8e700 (diff)
downloadgit-7687f19e939dd8c9a2a67ede31b019092f0a1ccf.zip
git-7687f19e939dd8c9a2a67ede31b019092f0a1ccf.tar.gz
git-7687f19e939dd8c9a2a67ede31b019092f0a1ccf.tar.bz2
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 'Documentation/git-branch.txt')
0 files changed, 0 insertions, 0 deletions