Skip to content

Fix git-ref --since including the tagged merge PR - #178

Open
BetterAndBetterII wants to merge 1 commit into
executablebooks:mainfrom
BetterAndBetterII:fix/since-git-ref-window
Open

Fix git-ref --since including the tagged merge PR#178
BetterAndBetterII wants to merge 1 commit into
executablebooks:mainfrom
BetterAndBetterII:fix/since-git-ref-window

Conversation

@BetterAndBetterII

Copy link
Copy Markdown

Summary

--since as a git tag was inclusive of the tagged merge timestamp, so a PR whose merge commit is that tag was listed again in the next changelog. GitHub compare tag...HEAD does not include that commit.

Git-ref --since is now exclusive of the tagged merge. A calendar-date --since stays inclusive.

Fixes #79

Test plan

When --since is a git tag, treat the activity window as exclusive of the
tagged merge timestamp so the release PR itself is not listed again in
the next changelog (Fixes executablebooks#79). Calendar-date --since stays inclusive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pull requests that happen on the same date as a release are always included even if they happened outside the window of the release

1 participant