Skip to content

Commit

Permalink
add --force-if-includes to tab expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
edy4c7 committed May 28, 2024
1 parent 70e44dc commit 292bd5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/GitParamTabExpansion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $longGitParams = @{
notes = 'force message file reuse-message reedit-message ref ignore-missing stdin dry-run strategy= commit abort quiet verbose'
prune = 'dry-run verbose expire'
pull = 'quiet verbose recurse-submodules= no-recurse-submodules= commit no-commit edit no-edit ff no-ff ff-only log no-log stat no-stat squash no-squash strategy= strategy-option= verify-signatures no-verify-signatures summary no-summary rebase= no-rebase all append depth= unshallow update-shallow force keep no-tags update-head-ok upload-pack progress'
push = 'all prune mirror dry-run porcelain delete tags follow-tags receive-pack= exec= force-with-lease no-force-with-lease force repo= set-upstream thin no-thin quiet verbose progress recurse-submodules= verify no-verify'
push = 'all prune mirror dry-run porcelain delete tags follow-tags receive-pack= exec= force-with-lease no-force-with-lease force-if-includes force repo= set-upstream thin no-thin quiet verbose progress recurse-submodules= verify no-verify'
rebase = 'onto continue abort keep-empty skip edit-todo merge strategy= strategy-option= gpg-sign quiet verbose stat no-stat no-verify verify force-rebase fork-point no-fork-point ignore-whitespace whitespace= committer-date-is-author-date ignore-date interactive preserve-merges exec root autosquash no-autosquash autostash no-autostash no-ff'
reflog = 'stale-fix expire= expire-unreachable= all updateref rewrite verbose'
remote = 'verbose'
Expand Down
1 change: 1 addition & 0 deletions test/GitParamTabExpansion.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Describe 'ParamsTabExpansion Tests' {
$result -contains '--follow-tags' | Should -Be $true
$result -contains '--force' | Should -Be $true
$result -contains '--force-with-lease' | Should -Be $true
$result -contains '--force-if-includes' | Should -Be $true
$result -contains '--mirror' | Should -Be $true
$result -contains '--no-force-with-lease' | Should -Be $true
$result -contains '--no-thin' | Should -Be $true
Expand Down

0 comments on commit 292bd5f

Please sign in to comment.