Skip to content

Commit

Permalink
git: pull - added missing flags
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Apr 1, 2024
1 parent b13bba4 commit 26b519e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions completers/git_completer/cmd/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,23 @@ func init() {
pullCmd.Flags().String("log", "", "add (at most <n>) entries from shortlog to merge commit message")
pullCmd.Flags().BoolS("n", "n", false, "do not show a diffstat at the end of the merge")
pullCmd.Flags().String("negotiation-tip", "", "report that we have only objects reachable from this object")
pullCmd.Flags().Bool("no-commit", false, "perform the merge but do not commit the result")
pullCmd.Flags().Bool("no-edit", false, "don't open an editor to change the commit message")
pullCmd.Flags().Bool("no-ff", false, "generate a merge commit even if the merge resol") // TODO
pullCmd.Flags().Bool("no-gpg-sign", false, "don't GPG-sign the commit")
pullCmd.Flags().Bool("no-log", false, "do not list one-line descriptions of the commit")
pullCmd.Flags().Bool("no-rebase", false, "do not perform a rebase after fetching")
pullCmd.Flags().Bool("no-recurse-submodules", false, "disable recursive fetching of submodules")
pullCmd.Flags().Bool("no-squash", false, "merge and commit")
pullCmd.Flags().Bool("no-stat", false, "do not show diffstat at the end of the merge")
pullCmd.Flags().Bool("no-tags", false, "disable automatic tag following")
pullCmd.Flags().Bool("no-verify-signatures", false, "do not verify the commits being merged")
pullCmd.Flags().Bool("progress", false, "force progress reporting")
pullCmd.Flags().BoolP("prune", "p", false, "prune remote-tracking branches no longer on remote")
pullCmd.Flags().BoolP("quiet", "q", false, "be more quiet")
pullCmd.Flags().StringP("rebase", "r", "", "incorporate changes by rebasing rather than merging")
pullCmd.Flags().String("recurse-submodules", "", "control for recursive fetching of submodules")
pullCmd.Flags().Bool("recurse-submodules-default", false, "provide internal temporary non-negative value f") // TODO
pullCmd.Flags().String("refmap", "", "specify fetch refmap")
pullCmd.Flags().StringP("server-option", "o", "", "option to transmit")
pullCmd.Flags().Bool("set-upstream", false, "set upstream for git pull/fetch")
Expand All @@ -54,8 +66,10 @@ func init() {
pullCmd.Flags().Bool("stat", false, "show a diffstat at the end of the merge")
pullCmd.Flags().StringP("strategy", "s", "", "merge strategy to use")
pullCmd.Flags().StringP("strategy-option", "X", "", "option for selected merge strategy")
pullCmd.Flags().Bool("submodule-prefix", false, "prepend <path> to paths printed in informative")
pullCmd.Flags().BoolP("tags", "t", false, "fetch all tags and associated objects")
pullCmd.Flags().Bool("unshallow", false, "convert to a complete repository")
pullCmd.Flags().BoolP("update-head-ok", "u", false, "allow updates of current branch head")
pullCmd.Flags().Bool("update-shallow", false, "accept refs that update .git/shallow")
pullCmd.Flags().String("upload-pack", "", "path to upload pack on remote end")
pullCmd.Flags().BoolP("verbose", "v", false, "be more verbose")
Expand Down

0 comments on commit 26b519e

Please sign in to comment.