OSDN Git Service

Install git-stage in exec-path
authorJunio C Hamano <gitster@pobox.com>
Wed, 3 Dec 2008 08:30:34 +0000 (00:30 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Dec 2008 08:30:34 +0000 (00:30 -0800)
Earlier the plan was to eventually eradicate git-foo executables from the
filesystem for all the built-in commands, but when we released 1.6.0 we
decided not to do so.  Instead, it has been promised that by prepending
the output from $(git --exec-path) to your $PATH, you can keep using the
dashed form of commands.

This also allows "git stage" to appear in the autogenerated command list,
which is used to offer man pages by "git help" command.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 9577d6f..5158197 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -320,6 +320,7 @@ BUILT_INS += git-merge-subtree$X
 BUILT_INS += git-peek-remote$X
 BUILT_INS += git-repo-config$X
 BUILT_INS += git-show$X
+BUILT_INS += git-stage$X
 BUILT_INS += git-status$X
 BUILT_INS += git-whatchanged$X