You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a use-case where several artifacts share the same git repo.
I'd like to be able to filter commit messages based on relative path from the repo's base.
I'd be glad to do the change and submit a pull request given you think it's doable and you don't have any objections to it.
It seems I just need to add a CommitFilter which knows if the commit contains files from that relative path.
Something like: RevTree tree = commit.getTree(); return TreeWalk.forPath(repo, path, tree) != null;
I might be wrong since I have no jGit experience and this is just based on some googling.
The text was updated successfully, but these errors were encountered:
Hi,
I have a use-case where several artifacts share the same git repo.
I'd like to be able to filter commit messages based on relative path from the repo's base.
I'd be glad to do the change and submit a pull request given you think it's doable and you don't have any objections to it.
It seems I just need to add a CommitFilter which knows if the commit contains files from that relative path.
Something like:
RevTree tree = commit.getTree(); return TreeWalk.forPath(repo, path, tree) != null;
I might be wrong since I have no jGit experience and this is just based on some googling.
The text was updated successfully, but these errors were encountered: