Compare commits
1 Commits
1.1.0.post
...
1.1.0.post
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e06a3b00ae |
@@ -169,9 +169,9 @@ class gitversionhelper: # pylint: disable=too-few-public-methods
|
||||
|
||||
str_cmd: str
|
||||
if ("same_branch" in kwargs) and (kwargs["same_branch"] is True):
|
||||
str_cmd = f"git rev-list --first-parent --ancestry-path {tag_commit_id}..{current_commit_id}"
|
||||
str_cmd = f"git rev-list --first-parent {tag_commit_id}..{current_commit_id}" # ok
|
||||
else:
|
||||
str_cmd = f"git rev-list --ancestry-path {tag_commit_id}..{current_commit_id}"
|
||||
str_cmd = f"git rev-list {tag_commit_id}..{current_commit_id}" # ok
|
||||
|
||||
if ("ignore_merged" in kwargs) and (kwargs["ignore_merged"] is True):
|
||||
str_cmd = str_cmd + " --no-merges" # ok
|
||||
|
||||
Reference in New Issue
Block a user