Re: [PATCH 2/2] complete: zsh: use zsh completion for the main cmd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Felipe Contreras <felipe.contreras@xxxxxxxxx> writes:

> +__git_zsh_cmd_common ()
> +{
> +	local -a list
> +	list=(
> +	add:'add file contents to the index'
> +	bisect:'find by binary search the change that introduced a bug'
> +	branch:'list, create, or delete branches'
> +	checkout:'checkout a branch or paths to the working tree'
> +	clone:'clone a repository into a new directory'
> +	commit:'record changes to the repository'
> +	diff:'show changes between commits, commit and working tree, etc'
> +	fetch:'download objects and refs from another repository'
> +	grep:'print lines matching a pattern'
> +	init:'create an empty Git repository or reinitialize an existing one'
> +	log:'show commit logs'
> +	merge:'join two or more development histories together'
> +	mv:'move or rename a file, a directory, or a symlink'
> +	pull:'fetch from and merge with another repository or a local branch'
> +	push:'update remote refs along with associated objects'
> +	rebase:'forward-port local commits to the updated upstream head'
> +	reset:'reset current HEAD to the specified state'
> +	rm:'remove files from the working tree and from the index'
> +	show:'show various types of objects'
> +	status:'show the working tree status'
> +	tag:'create, list, delete or verify a tag object signed with GPG')

Maintaining this list feels somewhat painful.  Isn't this something
we can help by tweaking "git help"?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]