summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-01-22 04:21:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-01-22 06:04:42 (GMT)
commit55b6745d633b9501576eb02183da0b0fb1cee964 (patch)
tree32f6d0a3026466c9a04438387f0f7701b88f0245 /git.c
parent8b187e6b0e114055071a9ae8f56b9a2a24bfaf8f (diff)
downloadgit-55b6745d633b9501576eb02183da0b0fb1cee964.zip
git-55b6745d633b9501576eb02183da0b0fb1cee964.tar.gz
git-55b6745d633b9501576eb02183da0b0fb1cee964.tar.bz2
make "git var" a built-in
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index c13ec72..cf7dd5d 100644
--- a/git.c
+++ b/git.c
@@ -372,6 +372,7 @@ static void handle_internal_command(int argc, const char **argv)
{ "update-ref", cmd_update_ref, RUN_SETUP },
{ "update-server-info", cmd_update_server_info, RUN_SETUP },
{ "upload-archive", cmd_upload_archive },
+ { "var", cmd_var },
{ "verify-tag", cmd_verify_tag, RUN_SETUP },
{ "version", cmd_version },
{ "whatchanged", cmd_whatchanged, RUN_SETUP | USE_PAGER },