summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2006-05-18 21:19:20 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-05-18 22:46:11 (GMT)
commit5fb61b8dcfdf7bcec0793c071813e255d1803859 (patch)
treed659b35a14c586d5f8121ab22735941639e63508 /builtin.h
parent065e0b126f47e0c280da6830956766ff2ea8cf17 (diff)
downloadgit-5fb61b8dcfdf7bcec0793c071813e255d1803859.zip
git-5fb61b8dcfdf7bcec0793c071813e255d1803859.tar.gz
git-5fb61b8dcfdf7bcec0793c071813e255d1803859.tar.bz2
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 'builtin.h')
-rw-r--r--builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index 7744f7d..7dff121 100644
--- a/builtin.h
+++ b/builtin.h
@@ -24,5 +24,6 @@ extern int cmd_count_objects(int argc, const char **argv, char **envp);
extern int cmd_push(int argc, const char **argv, char **envp);
extern int cmd_grep(int argc, const char **argv, char **envp);
+extern int cmd_rev_list(int argc, const char **argv, char **envp);
#endif