diff --git a/share/completions/git.fish b/share/completions/git.fish index b1480528f..ac8d52f22 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1549,44 +1549,44 @@ complete -c git -n '__fish_git_using_command log' -l use-mailmap complete -c git -n '__fish_git_using_command log' -l full-diff complete -c git -n '__fish_git_using_command log' -l log-size complete -r -F -c git -n '__fish_git_using_command log' -s L -d 'Trace the evolution of the line range given by ,, or regex , within the ' -complete -x -c git -n '__fish_git_using_command log' -s n -l max-count -d 'Limit the number of commits before starting to show the commit output' -complete -x -c git -n '__fish_git_using_command log' -l skip -d 'Skip given number of commits' -complete -x -c git -n '__fish_git_using_command log' -l since -d 'Show commits more recent than specified date' -complete -x -c git -n '__fish_git_using_command log' -l after -d 'Show commits more recent than specified date' -complete -x -c git -n '__fish_git_using_command log' -l until -d 'Show commits older than specified date' -complete -x -c git -n '__fish_git_using_command log' -l before -d 'Show commits older than specified date' -complete -x -c git -n '__fish_git_using_command log' -l author -d 'Limit commits from given author' -complete -x -c git -n '__fish_git_using_command log' -l committer -d 'Limit commits from given committer' -complete -x -c git -n '__fish_git_using_command log' -l grep-reflog -d 'Limit commits to ones with reflog entries matching given pattern' -complete -x -c git -n '__fish_git_using_command log' -l grep -d 'Limit commits with message that match given pattern' -complete -c git -n '__fish_git_using_command log' -l all-match -d 'Limit commits to ones that match all given --grep' -complete -c git -n '__fish_git_using_command log' -l invert-grep -d 'Limit commits to ones with message that don\'t match --grep' -complete -c git -n '__fish_git_using_command log' -l regexp-ignore-case -s i -d 'Case insensitive match' -complete -c git -n '__fish_git_using_command log' -l basic-regexp -d 'Patterns are basic regular expressions (default)' -complete -c git -n '__fish_git_using_command log' -l extended-regexp -s E -d 'Patterns are extended regular expressions' -complete -c git -n '__fish_git_using_command log' -l fixed-strings -s F -d 'Patterns are fixed strings' -complete -c git -n '__fish_git_using_command log' -l perl-regexp -d 'Patterns are Perl-compatible regular expressions' -complete -c git -n '__fish_git_using_command log' -l remove-empty -d 'Stop when given path disappears from tree' -complete -c git -n '__fish_git_using_command log' -l merges -d 'Print only merge commits' -complete -c git -n '__fish_git_using_command log' -l no-merges -d 'Don\'t print commits with more than one parent' -complete -x -c git -n '__fish_git_using_command log' -l min-parents -d 'Show only commit with at least the given number of parents' -complete -x -c git -n '__fish_git_using_command log' -l max-parents -d 'Show only commit with at most the given number of parents' -complete -c git -n '__fish_git_using_command log' -l no-min-parents -d 'Show only commit without a minimum number of parents' -complete -c git -n '__fish_git_using_command log' -l no-max-parents -d 'Show only commit without a maximum number of parents' -complete -c git -n '__fish_git_using_command log' -l first-parent -d 'Follow only the first parent commit upon seeing a merge commit' -complete -c git -n '__fish_git_using_command log' -l not -d 'Reverse meaning of ^ prefix' -complete -c git -n '__fish_git_using_command log' -l all -d 'Show log for all branches, tags, and remotes' -complete -f -c git -n '__fish_git_using_command log' -l branches -d 'Show log for all matching branches' -complete -f -c git -n '__fish_git_using_command log' -l tags -d 'Show log for all matching tags' -complete -f -c git -n '__fish_git_using_command log' -l remotes -d 'Show log for all matching remotes' -complete -x -c git -n '__fish_git_using_command log' -l glob -d 'Show log for all matching branches, tags, and remotes' -complete -x -c git -n '__fish_git_using_command log' -l exclude -d 'Do not include refs matching given glob pattern' -complete -c git -n '__fish_git_using_command log' -l reflog -d 'Show log for all reflogs entries' -complete -c git -n '__fish_git_using_command log' -l ingnore-missing -d 'Ignore invalid object names' -complete -c git -n '__fish_git_using_command log' -l bisect -complete -c git -n '__fish_git_using_command log' -l stdin -d 'Read commits from stdin' -complete -c git -n '__fish_git_using_command log' -l cherry-mark -d 'Mark equivalent commits with = and inequivalent with +' -complete -c git -n '__fish_git_using_command log' -l cherry-pick -d 'Omit equivalent commits' +complete -x -c git -n '__fish_git_using_command log rev-list' -s n -l max-count -d 'Limit the number of commits before starting to show the commit output' +complete -x -c git -n '__fish_git_using_command log rev-list' -l skip -d 'Skip given number of commits' +complete -x -c git -n '__fish_git_using_command log rev-list' -l since -d 'Show commits more recent than specified date' +complete -x -c git -n '__fish_git_using_command log rev-list' -l after -d 'Show commits more recent than specified date' +complete -x -c git -n '__fish_git_using_command log rev-list' -l until -d 'Show commits older than specified date' +complete -x -c git -n '__fish_git_using_command log rev-list' -l before -d 'Show commits older than specified date' +complete -x -c git -n '__fish_git_using_command log rev-list' -l author -d 'Limit commits from given author' +complete -x -c git -n '__fish_git_using_command log rev-list' -l committer -d 'Limit commits from given committer' +complete -x -c git -n '__fish_git_using_command log rev-list' -l grep-reflog -d 'Limit commits to ones with reflog entries matching given pattern' +complete -x -c git -n '__fish_git_using_command log rev-list' -l grep -d 'Limit commits with message that match given pattern' +complete -c git -n '__fish_git_using_command log rev-list' -l all-match -d 'Limit commits to ones that match all given --grep' +complete -c git -n '__fish_git_using_command log rev-list' -l invert-grep -d 'Limit commits to ones with message that don\'t match --grep' +complete -c git -n '__fish_git_using_command log rev-list' -l regexp-ignore-case -s i -d 'Case insensitive match' +complete -c git -n '__fish_git_using_command log rev-list' -l basic-regexp -d 'Patterns are basic regular expressions (default)' +complete -c git -n '__fish_git_using_command log rev-list' -l extended-regexp -s E -d 'Patterns are extended regular expressions' +complete -c git -n '__fish_git_using_command log rev-list' -l fixed-strings -s F -d 'Patterns are fixed strings' +complete -c git -n '__fish_git_using_command log rev-list' -l perl-regexp -d 'Patterns are Perl-compatible regular expressions' +complete -c git -n '__fish_git_using_command log rev-list' -l remove-empty -d 'Stop when given path disappears from tree' +complete -c git -n '__fish_git_using_command log rev-list' -l merges -d 'Print only merge commits' +complete -c git -n '__fish_git_using_command log rev-list' -l no-merges -d 'Don\'t print commits with more than one parent' +complete -x -c git -n '__fish_git_using_command log rev-list' -l min-parents -d 'Show only commit with at least the given number of parents' +complete -x -c git -n '__fish_git_using_command log rev-list' -l max-parents -d 'Show only commit with at most the given number of parents' +complete -c git -n '__fish_git_using_command log rev-list' -l no-min-parents -d 'Show only commit without a minimum number of parents' +complete -c git -n '__fish_git_using_command log rev-list' -l no-max-parents -d 'Show only commit without a maximum number of parents' +complete -c git -n '__fish_git_using_command log rev-list' -l first-parent -d 'Follow only the first parent commit upon seeing a merge commit' +complete -c git -n '__fish_git_using_command log rev-list' -l not -d 'Reverse meaning of ^ prefix' +complete -c git -n '__fish_git_using_command log rev-list' -l all -d 'Show log for all branches, tags, and remotes' +complete -f -c git -n '__fish_git_using_command log rev-list' -l branches -d 'Show log for all matching branches' +complete -f -c git -n '__fish_git_using_command log rev-list' -l tags -d 'Show log for all matching tags' +complete -f -c git -n '__fish_git_using_command log rev-list' -l remotes -d 'Show log for all matching remotes' +complete -x -c git -n '__fish_git_using_command log rev-list' -l glob -d 'Show log for all matching branches, tags, and remotes' +complete -x -c git -n '__fish_git_using_command log rev-list' -l exclude -d 'Do not include refs matching given glob pattern' +complete -c git -n '__fish_git_using_command log rev-list' -l reflog -d 'Show log for all reflogs entries' +complete -c git -n '__fish_git_using_command log rev-list' -l ignore-missing -d 'Ignore invalid object names' +complete -c git -n '__fish_git_using_command log rev-list' -l bisect +complete -c git -n '__fish_git_using_command log rev-list' -l stdin -d 'Read commits from stdin' +complete -c git -n '__fish_git_using_command log rev-list' -l cherry-mark -d 'Mark equivalent commits with = and inequivalent with +' +complete -c git -n '__fish_git_using_command log rev-list' -l cherry-pick -d 'Omit equivalent commits' complete -c git -n '__fish_git_using_command log' -l left-only complete -c git -n '__fish_git_using_command log' -l right-only complete -c git -n '__fish_git_using_command log' -l cherry @@ -2039,6 +2039,10 @@ complete -f -c git -n '__fish_git_using_command restore switch' -l no-progress - complete -f -c git -n '__fish_git_using_command restore switch' -l 'conflict=merge' -d 'Same as --merge, but specify \'merge\' as the conflicting hunk style (default)' complete -f -c git -n '__fish_git_using_command restore switch' -l 'conflict=diff3' -d 'Same as --merge, but specify \'diff3\' as the conflicting hunk style' +### rev-list +# (options see log) +complete -f -c git -n __fish_git_needs_command -a rev-list -d 'List commits in chronological order' + ### rev-parse complete -f -c git -n __fish_git_needs_command -a rev-parse -d 'Parse revision names or give repo information' complete -f -c git -n '__fish_git_using_command rev-parse' -ka '(__fish_git_branches)'