aboutsummaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2013-09-15 17:33:20 +0200
committerJunio C Hamano <gitster@pobox.com>2013-09-17 13:34:50 -0700
commita1bbc6c0176f1fa2d4aa571cc0183a1f0ff9b285 (patch)
tree799fd445e4deb222f8699226d5ba86c02147d91d /builtin.h
parent4d06473928ee574910accbde05c19ef2263abdf6 (diff)
downloadgit-a1bbc6c0176f1fa2d4aa571cc0183a1f0ff9b285.tar.gz
git-a1bbc6c0176f1fa2d4aa571cc0183a1f0ff9b285.tar.xz
repack: rewrite the shell script in C
The motivation of this patch is to get closer to a goal of being able to have a core subset of git functionality built in to git. That would mean * people on Windows could get a copy of at least the core parts of Git without having to install a Unix-style shell * people using git in on servers with chrooted environments do not need to worry about standard tools lacking for shell scripts. This patch is meant to be mostly a literal translation of the git-repack script; the intent is that later patches would start using more library facilities, but this patch is meant to be as close to a no-op as possible so it doesn't do that kind of thing. Signed-off-by: Stefan Beller <stefanbeller@googlemail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 8afa2def4..b56cf07ab 100644
--- a/builtin.h
+++ b/builtin.h
@@ -102,6 +102,7 @@ extern int cmd_reflog(int argc, const char **argv, const char *prefix);
extern int cmd_remote(int argc, const char **argv, const char *prefix);
extern int cmd_remote_ext(int argc, const char **argv, const char *prefix);
extern int cmd_remote_fd(int argc, const char **argv, const char *prefix);
+extern int cmd_repack(int argc, const char **argv, const char *prefix);
extern int cmd_repo_config(int argc, const char **argv, const char *prefix);
extern int cmd_rerere(int argc, const char **argv, const char *prefix);
extern int cmd_reset(int argc, const char **argv, const char *prefix);