git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* UI and git-completion.sh
@ 2007-10-23 21:46 Paolo Ciarrocchi
  2007-10-23 22:00 ` Steven Grimm
  2007-10-24 10:20 ` Johannes Schindelin
  0 siblings, 2 replies; 13+ messages in thread
From: Paolo Ciarrocchi @ 2007-10-23 21:46 UTC (permalink / raw)
  To: git

Hi all,
I just asked for help on the #git irc channel in order to install
the .git-completion.sh script (thanks nessundorma) and after using it 
for a while I started wondering why I cannot find any reference to it the 
official documentation.
The only important think that git grep found is:
	paolo@paolo-desktop:~/git$ git grep completion *
	Documentation/RelNotes-1.5.0.txt: - Bash completion scripts have been updated heavily.
Shouldn't it be mentioned somewhere? 

I know that newbies are somehow scared by the following:
	paolo@paolo-desktop:~/git$ git-
	Display all 151 possibilities? (y or n)
What? Do I have to learn 151 commands?
No way!

Using the git-completation script it all boils down to 48 commands.

paolo@paolo-desktop:~/git$ git 
add                   fetch                 rebase 
am                    filter-branch         rebase--interactive 
annotate              format-patch          relink 
apply                 fsck                  remote 
archive               gc                    repack 
bisect                get-tar-commit-id     request-pull 
blame                 grep                  reset 
branch                gui                   resolve 
bundle                imap-send             revert 
checkout              init                  rm 
checkout-index        instaweb              send-email 
cherry                log                   shortlog 
cherry-pick           lost-found            show 
citool                ls-files              show-branch 
clean                 ls-remote             show-ref 
clone                 ls-tree               stash 
commit                merge                 status 
config                mergetool             submodule 
convert-objects       mv                    tag 
count-objects         name-rev              var 
describe              pickaxe               verify-pack 
diff                  pull                  whatchanged 
diff-stages           push

And I think I can remove some commands from the list.

What people think about starting suggesting the usage of the script in the documentation?
I just want to know the opinion of the list before trying to write a documentation patch.
Next step would be to reduce the number of the items listed by git <tab> but I know there is 
already a discussion about it on the list.

Regards,
		Paolo

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-10-24 18:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23 21:46 UI and git-completion.sh Paolo Ciarrocchi
2007-10-23 22:00 ` Steven Grimm
2007-10-23 23:44   ` Randal L. Schwartz
2007-10-23 23:54     ` Matthieu Moy
2007-10-24  0:01       ` Randal L. Schwartz
     [not found]         ` <471E91C9.3000004@midwinter.com>
2007-10-24  0:31           ` Randal L. Schwartz
2007-10-24  0:55             ` Brian Downing
2007-10-24  0:57               ` Brian Downing
2007-10-24  0:46         ` Matthieu Moy
2007-10-24  0:50           ` Randal L. Schwartz
2007-10-24 17:34     ` Johannes Gilger
2007-10-24 10:20 ` Johannes Schindelin
2007-10-24 17:07   ` Pierre Habouzit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).