aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2006-06-10 16:13:41 +0200
committerJunio C Hamano <junkio@cox.net>2006-06-10 11:14:00 -0700
commit52ba03cbb1c718093946f5254187082bd7b32845 (patch)
tree75bb33782f3527ad2617be04884d489cf9eba1df /git.c
parent5e3a620cd5f7baaf27198192a614271c6145ec3b (diff)
downloadgit-52ba03cbb1c718093946f5254187082bd7b32845.tar.gz
git-52ba03cbb1c718093946f5254187082bd7b32845.tar.xz
Built-in git-get-tar-commit-id
By being an internal command git-get-commit-id can make use of struct ustar_header and other stuff and stops wasting precious disk space. Note: I recycled one of the two "tar-tree" entries instead of splitting that cleanup into a separate patch. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 6db8f2bc2..9469d44b4 100644
--- a/git.c
+++ b/git.c
@@ -163,7 +163,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "add", cmd_add },
{ "rev-list", cmd_rev_list },
{ "init-db", cmd_init_db },
- { "tar-tree", cmd_tar_tree },
+ { "get-tar-commit-id", cmd_get_tar_commit_id },
{ "upload-tar", cmd_upload_tar },
{ "check-ref-format", cmd_check_ref_format },
{ "ls-files", cmd_ls_files },