summaryrefslogtreecommitdiff
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorToon Claes <toon@iotcl.com>2025-02-06 07:33:30 +0100
committerJunio C Hamano <gitster@pobox.com>2025-02-06 12:23:53 -0800
commitbc26f7690a318fd0a875bfd8d56c70e1ccb79ccb (patch)
treee5de4e66e3f92c19e4598025a9058f4cd6d5f19a /builtin/commit-tree.c
parent7f420a6bda9704684ccc924070e8404dac55ffdf (diff)
clone: make it possible to specify --tags
Option --no-tags was added in 0dab2468ee (clone: add a --no-tags option to clone without tags, 2017-04-26). At the time there was no need to support --tags as well, although there was some conversation about it[1]. To simplify the code and to prepare for future commits, invert the flag internally. Functionally there is no change, because the flag is default-enabled passing `--tags` has no effect, so there's no need to add tests for this. [1]: https://lore.kernel.org/git/CAGZ79kbHuMpiavJ90kQLEL_AR0BEyArcZoEWAjPPhOFacN16YQ@mail.gmail.com/ Signed-off-by: Toon Claes <toon@iotcl.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions