git: 0e21783a550f - main - ghpr: Remove --edit from gh
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Apr 2025 22:06:10 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0e21783a550f4a7e644696782df85ecd0e343e4c commit 0e21783a550f4a7e644696782df85ecd0e343e4c Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2025-04-21 22:05:30 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2025-04-21 22:05:30 +0000 ghpr: Remove --edit from gh gh pr edit --edit is bogus. Remove the --edit. Sponsored by: Netflix --- tools/tools/git/ghpr/ghpr-push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools/git/ghpr/ghpr-push.sh b/tools/tools/git/ghpr/ghpr-push.sh index a82275ab046b..ba0704bbcf5c 100644 --- a/tools/tools/git/ghpr/ghpr-push.sh +++ b/tools/tools/git/ghpr/ghpr-push.sh @@ -41,7 +41,7 @@ git pull --rebase # try to cleanup for pr in $(git config --get-all branch.${staging}.opabinia.prs); do if ! $do_pr_branch_push; then - gh pr edit $pr --edit --add-label merged + gh pr edit $pr --add-label merged fi git branch -D PR-${pr} git config --remove-section branch.${staging}.opabinia.${pr}