Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
e93cf6bf
Unverified
Commit
e93cf6bf
authored
4 years ago
by
Dawid Dziurla
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #8346 from dawidd6/pr-pull-keep-old
pr-pull: pass --keep-old option to pr-upload
parents
0227ac5b
d5c8f2e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Library/Homebrew/dev-cmd/pr-pull.rb
+5
-1
5 additions, 1 deletion
Library/Homebrew/dev-cmd/pr-pull.rb
docs/Manpage.md
+2
-0
2 additions, 0 deletions
docs/Manpage.md
manpages/brew.1
+4
-0
4 additions, 0 deletions
manpages/brew.1
with
11 additions
and
1 deletion
Library/Homebrew/dev-cmd/pr-pull.rb
+
5
−
1
View file @
e93cf6bf
...
...
@@ -28,6 +28,9 @@ module Homebrew
description:
"Print what would be done rather than doing it."
switch
"--clean"
,
description:
"Do not amend the commits from pull requests."
switch
"--keep-old"
,
description:
"If the formula specifies a rebuild version, "
\
"attempt to preserve its value in the generated DSL."
switch
"--branch-okay"
,
description:
"Do not warn if pulling to a branch besides master (useful for testing)."
switch
"--resolve"
,
...
...
@@ -262,8 +265,9 @@ module Homebrew
upload_args
<<
"--verbose"
if
args
.
verbose?
upload_args
<<
"--no-publish"
if
args
.
no_publish?
upload_args
<<
"--dry-run"
if
args
.
dry_run?
upload_args
<<
"--keep-old"
if
args
.
keep_old?
upload_args
<<
"--warn-on-upload-failure"
if
args
.
warn_on_upload_failure?
upload_args
<<
"--root
_
url=
#{
args
.
root_url
}
"
if
args
.
root_url
upload_args
<<
"--root
-
url=
#{
args
.
root_url
}
"
if
args
.
root_url
upload_args
<<
"--bintray-org=
#{
bintray_org
}
"
safe_system
HOMEBREW_BREW_FILE
,
*
upload_args
end
...
...
This diff is collapsed.
Click to expand it.
docs/Manpage.md
+
2
−
0
View file @
e93cf6bf
...
...
@@ -1034,6 +1034,8 @@ Requires write access to the repository.
Print what would be done rather than doing it.
*
`--clean`
:
Do not amend the commits from pull requests.
*
`--keep-old`
:
If the formula specifies a rebuild version, attempt to preserve its value in the generated DSL.
*
`--branch-okay`
:
Do not warn if pulling to a branch besides master (useful for testing).
*
`--resolve`
:
...
...
This diff is collapsed.
Click to expand it.
manpages/brew.1
+
4
−
0
View file @
e93cf6bf
...
...
@@ -1424,6 +1424,10 @@ Print what would be done rather than doing it\.
Do not amend the commits from pull requests\.
.
.TP
\fB\-\-keep\-old\fR
If the formula specifies a rebuild version, attempt to preserve its value in the generated DSL\.
.
.TP
\fB\-\-branch\-okay\fR
Do not warn if pulling to a branch besides master (useful for testing)\.
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment