summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorPeter Eriksen <s022018@student.dtu.dk>2006-05-23 12:15:36 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-05-23 20:11:13 (GMT)
commite8cc9cd98e2ecd7fd8bb03e725d470405c8e2b94 (patch)
tree1cbb8e4bf27d877a9e3fd0f8d75779601172d45d /git.c
parent51ce34b9923d9b119ac53414584f80e05520abea (diff)
downloadgit-e8cc9cd98e2ecd7fd8bb03e725d470405c8e2b94.zip
git-e8cc9cd98e2ecd7fd8bb03e725d470405c8e2b94.tar.gz
git-e8cc9cd98e2ecd7fd8bb03e725d470405c8e2b94.tar.bz2
Builtin git-diff-files, git-diff-index, git-diff-stages, and git-diff-tree.
Signed-off-by: Peter Eriksen <s022018@student.dtu.dk> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/git.c b/git.c
index d29505c..8749748 100644
--- a/git.c
+++ b/git.c
@@ -59,7 +59,11 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "read-tree", cmd_read_tree },
{ "commit-tree", cmd_commit_tree },
{ "apply", cmd_apply },
- { "show-branch", cmd_show_branch }
+ { "show-branch", cmd_show_branch },
+ { "diff-files", cmd_diff_files },
+ { "diff-index", cmd_diff_index },
+ { "diff-stages", cmd_diff_stages },
+ { "diff-tree", cmd_diff_tree }
};
int i;