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

pre-commit: fix repo_depends check #1701

Merged
merged 1 commit into from
Jul 2, 2020
Merged

pre-commit: fix repo_depends check #1701

merged 1 commit into from
Jul 2, 2020

Conversation

yan12125
Copy link
Member

When pre-commit is used as a git hook, iter_packages only goes through
changed packages, and dependent package may not be in pkgs.

Test:

  1. Modify random stuffs in libqtxdg-git
  2. Commit libqtxdg-git

Follow-up of #1574.

pre-commit Outdated Show resolved Hide resolved
When pre-commit is used as a git hook, iter_packages only goes through
changed packages, and dependent package may not be in `pkgs`.

Test:
1. Modify random stuffs in libqtxdg-git
2. Commit libqtxdg-git
@lilydjwg lilydjwg merged commit 079501d into archlinuxcn:master Jul 2, 2020
@yan12125 yan12125 deleted the pre-commit-fix-repo-depends-check branch July 4, 2020 06:04
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