aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2006-05-18 14:19:20 -0700
committerJunio C Hamano <junkio@cox.net>2006-05-18 15:46:11 -0700
commit5fb61b8dcfdf7bcec0793c071813e255d1803859 (patch)
treed659b35a14c586d5f8121ab22735941639e63508 /git.c
parent065e0b126f47e0c280da6830956766ff2ea8cf17 (diff)
downloadgit-5fb61b8dcfdf7bcec0793c071813e255d1803859.tar.gz
git-5fb61b8dcfdf7bcec0793c071813e255d1803859.tar.xz
Make "git rev-list" be a builtin
This was surprisingly easy. The diff is truly minimal: rename "main()" to "cmd_rev_list()" in rev-list.c, and rename the whole file to reflect its new built-in status. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
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 a94d9ee5a..c94e3a531 100644
--- a/git.c
+++ b/git.c
@@ -50,6 +50,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "count-objects", cmd_count_objects },
{ "diff", cmd_diff },
{ "grep", cmd_grep },
+ { "rev-list", cmd_rev_list },
};
int i;