summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-14 08:40:19 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-03-14 08:40:19 (GMT)
commitc1f5086e23e97cdb8c913c10ff273e6cff913d52 (patch)
tree0e3ee9bae1a93256387d045d18082d182dcaa158 /git.c
parent5a27b3211a37ca283738c3f114e8123393d1518a (diff)
parentf98ef68faf81f10f89d9168c21acae71dd50c69e (diff)
downloadgit-c1f5086e23e97cdb8c913c10ff273e6cff913d52.zip
git-c1f5086e23e97cdb8c913c10ff273e6cff913d52.tar.gz
git-c1f5086e23e97cdb8c913c10ff273e6cff913d52.tar.bz2
Merge branch 'jc/fetch'
* jc/fetch: .gitignore: add git-fetch--tool builtin-fetch--tool: fix reflog notes. git-fetch: retire update-local-ref which is not used anymore. builtin-fetch--tool: make sure not to overstep ls-remote-result buffer. fetch--tool: fix uninitialized buffer when reading from stdin builtin-fetch--tool: adjust to updated sha1_object_info(). git-fetch--tool takes flags before the subcommand. Use stdin reflist passing in git-fetch.sh Use stdin reflist passing in parse-remote Allow fetch--tool to read from stdin git-fetch: rewrite expand_ref_wildcard in C git-fetch: rewrite another shell loop in C git-fetch: move more code into C. git-fetch--tool: start rewriting parts of git-fetch in C. git-fetch: split fetch_main into fetch_dumb and fetch_native
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 fe2b74a..dde4d07 100644
--- a/git.c
+++ b/git.c
@@ -243,6 +243,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "diff-files", cmd_diff_files },
{ "diff-index", cmd_diff_index, RUN_SETUP },
{ "diff-tree", cmd_diff_tree, RUN_SETUP },
+ { "fetch--tool", cmd_fetch__tool, RUN_SETUP },
{ "fmt-merge-msg", cmd_fmt_merge_msg, RUN_SETUP },
{ "for-each-ref", cmd_for_each_ref, RUN_SETUP },
{ "format-patch", cmd_format_patch, RUN_SETUP },