From 55886943c13786c51148e635eb70fed0c070e62b Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Mon, 12 Jul 2021 09:15:40 +0530 Subject: [PATCH] Add missing completions for `git daemon` --- share/completions/git.fish | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/share/completions/git.fish b/share/completions/git.fish index 1918e93ae..6427f269e 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1087,6 +1087,36 @@ complete -f -c git -n __fish_git_needs_command -a count-objects -d 'Count unpack complete -f -c git -n '__fish_git_using_command count-objects' -s v -l verbose -d 'Be verbose' complete -f -c git -n '__fish_git_using_command count-objects' -s H -l human-readable -d 'Print in human readable format' +### daemon +complete -c git -n __fish_git_needs_command -a daemon -d 'A really simple server for git repositories' +complete -f -c git -n '__fish_git_using_command daemon' -l strict-paths -d 'Match paths exactly' +complete -F -c git -n '__fish_git_using_command daemon' -l base-path -d 'Git Root' +complete -f -c git -n '__fish_git_using_command daemon' -l base-path-relaxed -d 'Relax base-path' +complete -F -c git -n '__fish_git_using_command daemon' -l interpolated-path -d 'Interpolated path template' +complete -f -c git -n '__fish_git_using_command daemon' -l export-all -d 'Allow pulling from all directories' +complete -f -c git -n '__fish_git_using_command daemon' -l inetd -d 'Run as inetd service' +complete -x -c git -n '__fish_git_using_command daemon' -l listen -d 'Listen on this IP' +complete -x -c git -n '__fish_git_using_command daemon' -l port -d 'Listen on this port' +complete -x -c git -n '__fish_git_using_command daemon' -l init-timeout -d 'Connection timeout' +complete -x -c git -n '__fish_git_using_command daemon' -l timeout -d 'Timeout for each request' +complete -x -c git -n '__fish_git_using_command daemon' -l max-connections -d 'Maximum parallel clients' +complete -f -c git -n '__fish_git_using_command daemon' -l syslog -d '--log-destination=syslog' +complete -x -c git -n '__fish_git_using_command daemon' -l log-destination -a 'stderr syslog none' -d 'Log destination' +complete -x -c git -n '__fish_git_using_command daemon' -l user-path -d 'Allow ~user notation to be used' +complete -f -c git -n '__fish_git_using_command daemon' -l verbose -d 'Log all details' +complete -f -c git -n '__fish_git_using_command daemon' -l reuseaddr -d 'Reuse address when binding to listening server' +complete -f -c git -n '__fish_git_using_command daemon' -l detach -d 'Detach from shell' +complete -x -c git -n '__fish_git_using_command daemon' -l reuseaddr -d 'Save the process id in file' +complete -x -c git -n '__fish_git_using_command daemon' -l user -d 'Change daemon\'s uid' +complete -x -c git -n '__fish_git_using_command daemon' -l group -d 'Change daemon\'s gid' +complete -x -c git -n '__fish_git_using_command daemon' -l enable -a 'upload-pack upload-archive recieve-pack' -d 'Enable service' +complete -x -c git -n '__fish_git_using_command daemon' -l disable -a 'upload-pack upload-archive recieve-pack' -d 'Disable service' +complete -x -c git -n '__fish_git_using_command daemon' -l allow-override -a 'upload-pack upload-archive recieve-pack' -d 'Allow overriding site-wide default per repository configuration' +complete -x -c git -n '__fish_git_using_command daemon' -l forbid-override -a 'upload-pack upload-archive recieve-pack' -d 'Forbid overriding site-wide drfault per repository configuration' +complete -f -c git -n '__fish_git_using_command daemon' -l informative-errors -d 'Report more verbose errors to clients' +complete -f -c git -n '__fish_git_using_command daemon' -l no-informative-errors -d 'Report less verbose errors to clients' +complete -x -c git -n '__fish_git_using_command daemon' -l access-hook -d 'Hook to run whenever a client connects' + ### describe complete -c git -n __fish_git_needs_command -a describe -d 'Give an object a human readable name based on an available ref' complete -k -f -c git -n '__fish_git_using_command describe' -a '(__fish_git_tags)' -d Tag @@ -1828,6 +1858,7 @@ complete -f -c git -n '__fish_git_using_command help' -a config -d 'Set and read complete -f -c git -n '__fish_git_using_command help' -a count-objects -d 'Count unpacked number of objects and their disk consumption' complete -f -c git -n '__fish_git_using_command help' -a describe -d 'Give an object a human-readable name' complete -f -c git -n '__fish_git_using_command help' -a diff -d 'Show changes between commits, commit and working tree, etc' +complete -f -c git -n '__fish_git_using_command help' -a daemon -d 'A really simple server for Git repositories' complete -f -c git -n '__fish_git_using_command help' -a difftool -d 'Open diffs in a visual tool' complete -f -c git -n '__fish_git_using_command help' -a fetch -d 'Download objects and refs from another repository' complete -f -c git -n '__fish_git_using_command help' -a filter-branch -d 'Rewrite branches'