@matheusbsbs / matheus-bagliano / commits / fe9a215214
Fork 0

Retire fetch--tool helper to contrib/examples

When git-fetch was builtin-ized, the previous script was moved to contrib/examples. Now, it is the sole remaining user for 'git fetch--tool'. The fetch--tool code is still worth keeping around so people can try out the old git-fetch.sh, for example when investigating regressions from the builtinifaction. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jonathan Nieder committed Nov 9, 2009 at 09:04 UTC fe9a215214acd2cf9132aec70e0758786a6e3e8b
4 files changed -3
Makefile
-1
@@ -601,7 +601,6 @@ BUILTIN_OBJS += builtin-diff-index.o
601 BUILTIN_OBJS += builtin-diff-tree.o
602 BUILTIN_OBJS += builtin-diff.o
603 BUILTIN_OBJS += builtin-fast-export.o
604 -BUILTIN_OBJS += builtin-fetch--tool.o
604 BUILTIN_OBJS += builtin-fetch-pack.o
605 BUILTIN_OBJS += builtin-fetch.o
606 BUILTIN_OBJS += builtin-fmt-merge-msg.o
builtin.h
-1
@@ -48,7 +48,6 @@ extern int cmd_diff_tree(int argc, const char **argv, const char *prefix);
48 extern int cmd_fast_export(int argc, const char **argv, const char *prefix);
49 extern int cmd_fetch(int argc, const char **argv, const char *prefix);
50 extern int cmd_fetch_pack(int argc, const char **argv, const char *prefix);
51 -extern int cmd_fetch__tool(int argc, const char **argv, const char *prefix);
51 extern int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix);
52 extern int cmd_for_each_ref(int argc, const char **argv, const char *prefix);
53 extern int cmd_format_patch(int argc, const char **argv, const char *prefix);
contrib/examples/builtin-fetch--tool.c renamed
git.c
-1
@@ -304,7 +304,6 @@ static void handle_internal_command(int argc, const char **argv)
304 { "fast-export", cmd_fast_export, RUN_SETUP },
305 { "fetch", cmd_fetch, RUN_SETUP },
306 { "fetch-pack", cmd_fetch_pack, RUN_SETUP },
307 - { "fetch--tool", cmd_fetch__tool, RUN_SETUP },
307 { "fmt-merge-msg", cmd_fmt_merge_msg, RUN_SETUP },
308 { "for-each-ref", cmd_for_each_ref, RUN_SETUP },
309 { "format-patch", cmd_format_patch, RUN_SETUP },