aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/completion/git-completion.bash
AgeCommit message (Expand)AuthorFilesLines
12 daysMerge branch 'rh/complete-symbolic-ref'Junio C Hamano1-3/+28
2024-04-25completion: add docs on how to add subcommand completionsRoland Hieber1-0/+7
2024-04-25completion: improve docs for using __git_completeRoland Hieber1-3/+10
2024-04-25completion: add 'symbolic-ref'Roland Hieber1-0/+11
2024-03-14Merge branch 'rj/complete-worktree-paths-fix'Junio C Hamano1-1/+1
2024-03-14Merge branch 'rj/complete-reflog'Junio C Hamano1-12/+68
2024-03-03completion: reflog subcommands and optionsRubén Justo1-2/+10
2024-03-03completion: factor out __git_resolve_builtinsRubén Justo1-6/+25
2024-03-03completion: introduce __git_find_subcommandRubén Justo1-0/+20
2024-03-03completion: reflog show <log-options>Rubén Justo1-0/+10
2024-03-03completion: reflog with implicit "show"Rubén Justo1-5/+4
2024-02-27completion: fix __git_complete_worktree_pathsRubén Justo1-1/+1
2024-02-16completion: use awk for filtering the config entriesBeat Bolli1-2/+4
2024-02-14Merge branch 'pb/complete-config'Junio C Hamano1-44/+46
2024-02-12Merge branch 'bk/complete-bisect'Junio C Hamano1-7/+58
2024-02-12completion: add and use __git_compute_second_level_config_vars_for_sectionPhilippe Blain1-50/+21
2024-02-12completion: add and use __git_compute_first_level_config_vars_for_sectionPhilippe Blain1-3/+21
2024-02-12completion: complete 'submodule.*' config variablesPhilippe Blain1-0/+13
2024-02-12completion: add space after config variable names also in Bash 3Philippe Blain1-3/+3
2024-02-06completion: bisect: recognize but do not complete view subcommandBritton Leo Kerin1-4/+11
2024-02-06completion: bisect: complete log opts for visualize subcommandBritton Leo Kerin1-0/+4
2024-02-06completion: new function __git_complete_log_optsBritton Leo Kerin1-3/+15
2024-02-06completion: bisect: complete missing --first-parent and - -no-checkout optionsBritton Leo Kerin1-1/+1
2024-02-06completion: bisect: complete custom terms and related optionsBritton Leo Kerin1-2/+30
2024-02-06completion: bisect: complete bad, new, old, and help subcommandsBritton Leo Kerin1-2/+2
2024-02-02Merge branch 'pb/complete-log-more'Junio C Hamano1-1/+14
2024-01-22completion: complete missing 'git log' optionsPhilippe Blain1-0/+2
2024-01-22completion: complete --encodingPhilippe Blain1-0/+1
2024-01-22completion: complete --patch-with-rawPhilippe Blain1-1/+1
2024-01-22completion: complete missing rev-list optionsPhilippe Blain1-0/+10
2024-01-16completion: treat dangling symrefs as existing pseudorefsPatrick Steinhardt1-1/+1
2024-01-16completion: silence pseudoref existence checkPatrick Steinhardt1-1/+1
2024-01-16completion: improve existence check for pseudo-refsPatrick Steinhardt1-3/+3
2024-01-16completion: discover repo path in `__git_pseudoref_exists ()`Patrick Steinhardt1-3/+2
2024-01-02Merge branch 'sh/completion-with-reftable'Junio C Hamano1-5/+38
2023-12-19completion: support pseudoref existence checks for reftablesStan Hu1-0/+23
2023-12-19completion: refactor existence checks for pseudorefsStan Hu1-5/+15
2023-12-03completion: avoid user confusion in non-cone modeElijah Newren1-0/+89
2023-12-03completion: avoid misleading completions in cone modeElijah Newren1-0/+20
2023-12-03completion: fix logic for determining whether cone mode is activeElijah Newren1-2/+10
2023-12-03completion: squelch stray errors in sparse-checkout completionElijah Newren1-1/+1
2023-10-09completion: complete '--dd'Sergey Organov1-1/+1
2023-09-20completion: loosen and document the requirement around completing aliasJunio C Hamano1-2/+3
2023-09-20Merge branch 'pb/completion-aliases-doc'Junio C Hamano1-0/+1
2023-09-20Merge branch 'pb/complete-commit-trailers'Junio C Hamano1-0/+9
2023-09-18Merge branch 'js/complete-checkout-t'Junio C Hamano1-2/+2
2023-09-12completion: improve doc for complex aliasesPhilippe Blain1-0/+1
2023-09-12completion: commit: complete trailers tokens more robustlyPhilippe Blain1-1/+1
2023-09-08completion(switch/checkout): treat --track and -t the sameJohannes Schindelin1-2/+2
2023-09-07completion: commit: complete configured trailer tokensPhilippe Blain1-0/+9
2023-07-06Merge branch 'pb/complete-diff-options'Junio C Hamano1-9/+48
2023-06-26completion: complete --remerge-diffPhilippe Blain1-1/+1
2023-06-26completion: complete --diff-merges, its options and --no-diff-mergesPhilippe Blain1-0/+16
2023-06-26completion: move --pickaxe-{all,regex} to __git_diff_common_optionsPhilippe Blain1-2/+3
2023-06-26completion: complete --ws-error-highlightPhilippe Blain1-0/+14
2023-06-26completion: complete --unifiedPhilippe Blain1-1/+1
2023-06-26completion: complete --output-indicator-{context,new,old}Philippe Blain1-1/+2
2023-06-26completion: complete --outputPhilippe Blain1-0/+1
2023-06-26completion: complete --no-statPhilippe Blain1-1/+1
2023-06-26completion: complete --no-relativePhilippe Blain1-1/+2
2023-06-26completion: complete --line-prefixPhilippe Blain1-1/+1
2023-06-26completion: complete --ita-invisible-in-index and --ita-visible-in-indexPhilippe Blain1-0/+1
2023-06-26completion: complete --irreversible-deletePhilippe Blain1-0/+1
2023-06-26completion: complete --ignore-matching-linesPhilippe Blain1-1/+1
2023-06-26completion: complete --function-contextPhilippe Blain1-1/+1
2023-06-26completion: complete --find-renamesPhilippe Blain1-1/+1
2023-06-26completion: complete --find-objectPhilippe Blain1-1/+1
2023-06-26completion: complete --find-copiesPhilippe Blain1-0/+1
2023-06-26completion: complete --default-prefixPhilippe Blain1-1/+1
2023-06-26completion: complete --compact-summaryPhilippe Blain1-1/+1
2023-06-26completion: complete --combined-all-pathsPhilippe Blain1-1/+1
2023-06-26completion: complete --ccPhilippe Blain1-1/+1
2023-06-26completion: complete --break-rewritesPhilippe Blain1-1/+1
2023-06-26completion: add comments describing __git_diff_* globalsPhilippe Blain1-0/+2
2023-05-23completion: complete AUTO_MERGEPhilippe Blain1-1/+1
2023-05-23completion: complete REVERT_HEAD and BISECT_HEADPhilippe Blain1-1/+1
2022-11-30completion: add case-insensitive match of pseudorefsAlison Winters1-3/+11
2022-11-30completion: add optional ignore-case when matching refsAlison Winters1-0/+12
2022-03-15completion: tab completion of filenames for 'git restore'David Cantrell1-0/+4
2022-02-17Merge branch 'ab/complete-show-all-commands'Junio C Hamano1-1/+12
2022-02-08completion: handle unusual characters for sparse-checkoutLessley Dennington1-13/+11
2022-02-08completion: improve sparse-checkout cone mode directory completionLessley Dennington1-1/+31
2022-02-08completion: address sparse-checkout issuesLessley Dennington1-8/+8
2022-02-02completion: add a GIT_COMPLETION_SHOW_ALL_COMMANDSÆvar Arnfjörð Bjarmason1-1/+12
2021-12-15Merge branch 'en/zdiff3'Junio C Hamano1-3/+3
2021-12-10Merge branch 'yn/complete-date-format-options'Junio C Hamano1-1/+1
2021-12-01xdiff: implement a zealous diff3, or "zdiff3"Phillip Wood1-3/+3
2021-11-29Merge branch 'tp/send-email-completion'Junio C Hamano1-10/+1
2021-11-25completion: add human and auto: date formatYoichi Nakayama1-1/+1
2021-10-29Merge branch 're/completion-fix-test-equality'Junio C Hamano1-1/+1
2021-10-28completion: fix incorrect bash/zsh string equality checkRobert Estelle1-1/+1
2021-10-28send-email: programmatically generate bash completionsThiago Perrotta1-10/+1
2021-10-18Merge branch 'js/retire-preserve-merges'Junio C Hamano1-1/+1
2021-10-12Merge branch 'fc/completion-updates' into maintJunio C Hamano1-7/+7
2021-09-23help / completion: make "git help" do the hard workÆvar Arnfjörð Bjarmason1-11/+10
2021-09-07pull: remove support for `--rebase=preserve`Johannes Schindelin1-1/+1
2021-09-03Merge branch 'fc/completion-updates'Junio C Hamano1-7/+7
2021-08-18completion: bash: add correct suffix in variablesFelipe Contreras1-3/+3
2021-08-18completion: bash: fix for multiple dash commandsFelipe Contreras1-1/+1
2021-08-18completion: bash: fix for suboptions with valueFelipe Contreras1-1/+1
2021-08-18completion: bash: fix prefix detection in branch.*Felipe Contreras1-2/+2
2021-07-08Merge branch 'fw/complete-cmd-idx-fix'Junio C Hamano1-0/+1
2021-07-08Merge branch 'tb/complete-diff-anchored'Junio C Hamano1-0/+1
2021-06-19completion: bash: fix late declaration of __git_cmd_idxFabian Wermelinger1-0/+1
2021-06-02contrib/completion: fix zsh completion regression from 59d85a2a05David Aguilar1-1/+1
2021-05-31completion: add --anchored to diff's optionsThomas Braun1-0/+1
2021-05-16Merge branch 'dd/mailinfo-quoted-cr'Junio C Hamano1-0/+5
2021-05-10am: learn to process quoted lines that ends with CRLFĐoàn Trần Công Danh1-0/+5
2021-05-07Merge branch 'si/zsh-complete-comment-fix'Junio C Hamano1-2/+3
2021-05-07Merge branch 'dl/complete-stash-updates'Junio C Hamano1-47/+51
2021-05-07Merge branch 'dl/complete-stash'Junio C Hamano1-62/+60
2021-05-04work around zsh comment in __git_complete_worktree_pathsSardorbek Imomaliev1-2/+3
2021-04-30Merge branch 'vs/completion-with-set-u'Junio C Hamano1-1/+1
2021-04-27git-completion.bash: consolidate cases in _git_stash()Denton Liu1-19/+2
2021-04-27git-completion.bash: use $__git_cmd_idx in more placesDenton Liu1-12/+14
2021-04-27git-completion.bash: rename to $__git_cmd_idxDenton Liu1-10/+10
2021-04-20git-completion.bash: separate some commands onto their own lineDenton Liu1-9/+28
2021-04-16completion: avoid aliased command lookup error in nounset modeVille Skyttä1-1/+1
2021-04-15Merge branch 'ab/complete-cherry-pick-head'Junio C Hamano1-1/+1
2021-04-13Merge branch 'vs/completion-with-set-u'Junio C Hamano1-3/+3
2021-04-08completion: audit and guard $GIT_* against unset useVille Skyttä1-3/+3
2021-04-07bash completion: complete CHERRY_PICK_HEADÆvar Arnfjörð Bjarmason1-1/+1
2021-03-24git-completion.bash: use __gitcomp_builtin() in _git_stash()Denton Liu1-22/+20
2021-03-24git-completion.bash: extract from else in _git_stash()Denton Liu1-36/+37
2021-03-24git-completion.bash: pass $__git_subcommand_idx from __git_main()Denton Liu1-12/+11
2021-03-22Merge branch 'dl/stash-show-untracked'Junio C Hamano1-1/+1
2021-03-05stash show: teach --include-untracked and --only-untrackedDenton Liu1-1/+1
2021-02-12Merge branch 'jk/complete-branch-force-delete'Junio C Hamano1-2/+4
2021-02-03completion: handle other variants of "branch -m"Jeff King1-2/+4
2021-02-02completion: treat "branch -D" the same way as "branch -d"Jeff King1-1/+1
2021-01-04completion: add proper public __git_completeFelipe Contreras1-7/+33
2021-01-04completion: bash: improve function detectionFelipe Contreras1-1/+1
2021-01-04completion: bash: add __git_have_func helperFelipe Contreras1-3/+7
2020-12-08Merge branch 'fc/zsh-completion'Junio C Hamano1-1/+1
2020-12-07completion: bash: fix gitk alias regressionFelipe Contreras1-1/+1
2020-11-17completion: bash: improve alias loop detectionFelipe Contreras1-4/+5
2020-11-09completion: bash: check for alias loopFelipe Contreras1-3/+8
2020-11-09completion: bash: support recursive aliasesFelipe Contreras1-19/+31
2020-11-09Merge branch 'fc/zsh-completion'Junio C Hamano1-103/+10
2020-11-02Merge branch 'dl/diff-merge-base'Junio C Hamano1-9/+6
2020-10-28completion: bash: remove old compat wrappersFelipe Contreras1-12/+0
2020-10-28completion: bash: cleanup cygwin checkFelipe Contreras1-2/+2
2020-10-28completion: bash: trivial cleanupFelipe Contreras1-7/+6
2020-10-28completion: bash: remove zsh wrapperFelipe Contreras1-90/+2
2020-10-28completion: bash: synchronize zsh wrapperFelipe Contreras1-0/+8
2020-10-27Merge branch 'dl/checkout-guess'Junio C Hamano1-9/+16
2020-10-26completion: zsh: fix __gitcomp_direct()Felipe Contreras1-1/+1
2020-10-08checkout: learn to respect checkout.guessDenton Liu1-9/+16
2020-10-07git-completion.bash: stash-show: complete $__git_diff_common_optionsRobert Karszniewicz1-1/+4
2020-10-07git-completion.bash: __git_diff_common_options: add --[no-]patchRobert Karszniewicz1-3/+2
2020-09-26completion: complete refs after 'git restore -s'Ákos Uzonyi1-0/+7
2020-09-26completion: use "prev" variable instead of introducing "prevword"Ákos Uzonyi1-34/+32
2020-09-21contrib/completion: complete `git diff --merge-base`Denton Liu1-1/+1
2020-09-17contrib/completion: complete options that take refs for format-patchDenton Liu1-0/+4
2020-09-17contrib/completion: extract common diff/difftool optionsDenton Liu1-9/+6
2020-08-19completion: add GIT_COMPLETION_SHOW_ALL env varRyan Zoeller1-1/+13
2020-08-17Merge branch 'pd/mergetool-nvimdiff'Junio C Hamano1-2/+2
2020-07-29mergetools: add support for nvimdiff (neovim) familypudinha1-2/+2
2020-07-15completion: add show --color-moved[-ws]Michal Privoznik1-0/+8
2020-07-01completion: nounset mode fixesVille Skyttä1-9/+9
2020-06-25Merge branch 'jk/complete-git-switch'Junio C Hamano1-39/+213
2020-06-08Merge branch 'vs/complete-stash-show-p-fix'Junio C Hamano1-1/+1
2020-05-28completion: improve handling of --orphan option of switch/checkoutJacob Keller1-7/+14
2020-05-28completion: improve handling of -c/-C and -b/-B in switch/checkoutJacob Keller1-2/+47
2020-05-28completion: improve handling of --track in switch/checkoutJacob Keller1-2/+22
2020-05-28completion: improve handling of --detach in checkoutJacob Keller1-1/+6
2020-05-28completion: improve completion for git switch with no optionsJacob Keller1-13/+20
2020-05-28completion: improve handling of DWIM mode for switch/checkoutJacob Keller1-19/+76
2020-05-28completion: perform DWIM logic directly in __git_complete_refsJacob Keller1-1/+18
2020-05-28completion: extract function __git_dwim_remote_headsJacob Keller1-7/+21
2020-05-28completion: replace overloaded track term for __git_complete_refsJacob Keller1-13/+15
2020-05-28completion: use native ZSH array pattern matchingMarco Trevisan (Treviño)1-1/+1
2020-05-21completion: don't override given stash subcommand with -pVille Skyttä1-1/+1
2020-05-14Merge branch 'ds/bloom-cleanup'Junio C Hamano1-0/+1
2020-05-11completion: offer '--(no-)patch' among 'git log' optionsSZEDER Gábor1-0/+1
2020-04-29Merge branch 'en/fill-directory-exponential'Junio C Hamano1-1/+1
2020-04-01completion: fix 'git add' on paths under an untracked directoryElijah Newren1-1/+1
2020-03-09Merge branch 'kk/complete-diff-color-moved'Junio C Hamano1-0/+15
2020-03-09Merge branch 'pb/am-show-current-patch'Junio C Hamano1-0/+5
2020-02-24completion: add diff --color-moved[-ws]Kir Kolyshkin1-0/+15
2020-02-20am: support --show-current-patch=diff to retrieve .git/rebase-apply/patchPaolo Bonzini1-1/+1
2020-02-20am: support --show-current-patch=raw as a synonym for--show-current-patchPaolo Bonzini1-0/+5
2020-02-05Merge branch 'mt/sparse-checkout-doc-update'Junio C Hamano1-0/+21
2020-01-30Merge branch 'sg/completion-worktree'Junio C Hamano1-26/+93
2020-01-23completion: add support for sparse-checkoutMatheus Tavares1-0/+21
2020-01-15completion: list paths and refs for 'git worktree add'SZEDER Gábor1-0/+36
2020-01-15completion: list existing working trees for 'git worktree' subcommandsSZEDER Gábor1-1/+29
2020-01-15completion: simplify completing 'git worktree' subcommands and optionsSZEDER Gábor1-22/+8
2020-01-15completion: return the index of found word from __git_find_on_cmdline()SZEDER Gábor1-3/+17
2020-01-15completion: clean up the __git_find_on_cmdline() helper functionSZEDER Gábor1-5/+8
2019-12-10Merge branch 'dl/pretty-reference'Junio C Hamano1-1/+1
2019-12-10Merge branch 'dl/submodule-set-url'Junio C Hamano1-1/+1
2019-12-01Merge branch 'js/complete-svn-recursive'Junio C Hamano1-0/+1
2019-12-01Merge branch 'dl/complete-rebase-onto'Junio C Hamano1-0/+4
2019-11-20pretty: implement 'reference' formatDenton Liu1-1/+1
2019-11-20completion: complete `tformat:` pretty formatDenton Liu1-1/+1
2019-11-13completion: tab-complete "git svn --recursive"James Shubin1-0/+1
2019-11-12completion: learn to complete `git rebase --onto=`Denton Liu1-0/+4
2019-11-10Fix spelling errors in code commentsElijah Newren1-2/+2
2019-10-30submodule: teach set-url subcommandDenton Liu1-1/+1