Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove projectRootDirectory param from getMostRecentTag #87

Merged
merged 1 commit into from
May 28, 2021

Conversation

rekmarks
Copy link
Member

The projectRootDirectory param was added to a call to git rev-list in getMostRecentTag. Per the git rev-list docs, providing one or more paths to that command will limit the returned lists to commits "modifying the given ". This param is not only unnecessary, but prevents us from retrieving tags belonging to merge commits, because they don't modify anything. The purpose of getMostRecentTag is to get the most recent tag for the entire repository, not for a particular sub-tree.

@rekmarks rekmarks requested a review from Gudahtt May 28, 2021 15:30
@rekmarks rekmarks requested a review from a team as a code owner May 28, 2021 15:30
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@rekmarks rekmarks merged commit d1046e8 into main May 28, 2021
@rekmarks rekmarks deleted the remove-dir-param-from-getMostRecentTag branch May 28, 2021 15:43
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.

2 participants