threads / discuss / 8789

Re: Start deprecating "git-command" in favor of "git command"

Subject: Re: Start deprecating "git-command" in favor of "git command"

## tl;dr

3 messages between Jul 1, 2007 and Jul 1, 2007.

replies: 2people: 3as markdown or json

eschvoca· Jul 1, 2007, 01:48 UTC · re: linux@horizon.com · lore

By removing the dash I would miss out on man pages too. I don' t like seeing all the rare commands pollute my PATH.

In zsh while I'm typing a command like:
$ git-rebase branch --

I then realize I need the man page so I type "Esc-h" and it appears. When I exit man I'm back to the same spot in the command line.

e
Theodore Tso· Jul 1, 2007, 03:00 UTC · re: eschvoca · lore
On Sat, Jun 30, 2007 at 09:48:26PM -0400, eschvoca wrote:
> By removing the dash I would miss out on man pages too.

The man pages are something that needs careful consideration. Some man programs use the PATH as a hint to figure out which man page to show --- i.e., if /usr/local/bin/git-log is in the path then it's likely that the man page you want to show is the one in /usr/local/man/man1/git-log.1.

If we don't install git-log in the PATH, for some setups people won't be able to see the man page for git-log.

						- Ted

← back to recent threads