Skip to content

Conversation

perheld
Copy link
Collaborator

@perheld perheld commented Jun 2, 2025

Calling pre-push as a git hook actually supplies it with 2 arguments, remote-name and remote-url. So the logic of automatically going non-interactive when there are any arguments is flawed.

This commit makes sure pre-push only goes non-interactive when there is only one argument.

Signed-off-by: per.held@arm.com
Change-Id: I21cc05b24521bb075c2f74fe4ed7f773b797b085

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Calling pre-push as a git hook actually supplies it with 2 arguments,
remote-name and remote-url. So the logic of automatically going
non-interactive when there are any arguments is flawed.

This commit makes sure pre-push only goes non-interactive when there
is only one argument.

Signed-off-by: per.held@arm.com
Change-Id: I21cc05b24521bb075c2f74fe4ed7f773b797b085
@perheld perheld requested a review from digantdesai as a code owner June 2, 2025 10:12
Copy link

pytorch-bot bot commented Jun 2, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11280

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit d122faf with merge base d4906e2 (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 2, 2025
@perheld perheld added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Jun 2, 2025
@zingo zingo added release notes: none Do not include this in the release notes and removed topic: not user facing labels Jun 2, 2025
@zingo
Copy link
Collaborator

zingo commented Jun 2, 2025

Unrelated fail
trunk / test-llama-torchao-lowbit / macos-job

@zingo zingo merged commit 0a09b49 into pytorch:main Jun 2, 2025
191 of 195 checks passed
@perheld perheld deleted the upstream/ph-fix-pre-push-argument branch September 2, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants