Skip to content

Commit 2ca5b7e

Browse files
docs: add TODO comment for USE_GIT_COMMITS future work (#1678)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 1985e54 commit 2ca5b7e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

commitizen/commands/version.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ def __call__(self) -> None:
8484

8585
if next_increment_str := self.arguments.get("next"):
8686
if next_increment_str == "USE_GIT_COMMITS":
87+
# TODO: implement USE_GIT_COMMITS by deriving the increment from
88+
# git history. This requires refactoring the bump logic out of
89+
# `commitizen/commands/bump.py` so it can be reused here. See #1678.
8790
out.error("--next USE_GIT_COMMITS is not implemented yet.")
8891
return
8992

0 commit comments

Comments
 (0)