Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
builtin/submodule--helper: remove debugging leftover tracing
author
Stefan Beller
<sbeller@google.com>
Tue, 16 Oct 2018 23:45:50 +0000
(16:45 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 18 Oct 2018 03:25:41 +0000
(12:25 +0900)
I noticed
74d4731da1
(submodule--helper: replace connect-gitdir-workingtree
by ensure-core-worktree, 2018-08-13) had two leftover debugging statements
when reading The coverage report [1]. Remove them.
https://public-inbox.org/git/
e30a9c05
-87d8-1f2b-182c-
6d6a5fefe43c
@gmail.com/
Signed-off-by: Stefan Beller <sbeller@google.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
a4b8ab5
)
diff --git
a/builtin/submodule--helper.c
b/builtin/submodule--helper.c
index 247881189fde2a910bbd993342bb74fe10e06b0e..a131cd29cdd5cfdecde4bbe9d09bd1883fa6b590 100644
(file)
--- a/
builtin/submodule--helper.c
+++ b/
builtin/submodule--helper.c
@@
-1457,7
+1457,6
@@
static void determine_submodule_update_strategy(struct repository *r,
key = xstrfmt("submodule.%s.update", sub->name);
if (update) {
key = xstrfmt("submodule.%s.update", sub->name);
if (update) {
- trace_printf("parsing update");
if (parse_submodule_update_strategy(update, out) < 0)
die(_("Invalid update mode '%s' for submodule path '%s'"),
update, path);
if (parse_submodule_update_strategy(update, out) < 0)
die(_("Invalid update mode '%s' for submodule path '%s'"),
update, path);
@@
-1466,7
+1465,6
@@
static void determine_submodule_update_strategy(struct repository *r,
die(_("Invalid update mode '%s' configured for submodule path '%s'"),
val, path);
} else if (sub->update_strategy.type != SM_UPDATE_UNSPECIFIED) {
die(_("Invalid update mode '%s' configured for submodule path '%s'"),
val, path);
} else if (sub->update_strategy.type != SM_UPDATE_UNSPECIFIED) {
- trace_printf("loaded thing");
out->type = sub->update_strategy.type;
out->command = sub->update_strategy.command;
} else
out->type = sub->update_strategy.type;
out->command = sub->update_strategy.command;
} else