summaryrefslogtreecommitdiff
path: root/builtin/fetch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-20 06:24:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-20 06:24:12 (GMT)
commit0d7f242110dc71666780a85fca14fbc8223879d4 (patch)
tree3154b4ef00a4b665f7b1dc94be1fa313c8db58cd /builtin/fetch.c
parentdc7f96f1f4a071150d2c817e6ca72ecfb7edd72d (diff)
parent7e2342d0987f7f78bc8582e97bbfbafd80d327ef (diff)
downloadgit-0d7f242110dc71666780a85fca14fbc8223879d4.zip
git-0d7f242110dc71666780a85fca14fbc8223879d4.tar.gz
git-0d7f242110dc71666780a85fca14fbc8223879d4.tar.bz2
Merge branch 'jk/trace-sifter'
* jk/trace-sifter: trace: give repo_setup trace its own key add packet tracing debug code trace: add trace_strbuf trace: factor out "do we want to trace" logic trace: refactor to support multiple env variables trace: add trace_vprintf
Diffstat (limited to 'builtin/fetch.c')
-rw-r--r--builtin/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/fetch.c b/builtin/fetch.c
index 7efecfe..1b6d4be 100644
--- a/builtin/fetch.c
+++ b/builtin/fetch.c
@@ -906,6 +906,8 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
struct remote *remote;
int result = 0;
+ packet_trace_identity("fetch");
+
/* Record the command line for the reflog */
strbuf_addstr(&default_rla, "fetch");
for (i = 1; i < argc; i++)