diff options
author | Luke Shumaker <lukeshu@datawire.io> | 2021-04-27 15:17:43 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-28 16:47:18 +0900 |
commit | e9525a8a0291eb5ef0a81473d2b8c4d4b3b198c8 (patch) | |
tree | a2936a58a4f3a0b0be588da78375d5945eadea7a /t/t5515/fetch.br-config-explicit-merge | |
parent | subtree: don't let debug and progress output clash (diff) | |
download | tgif-e9525a8a0291eb5ef0a81473d2b8c4d4b3b198c8.tar.xz |
subtree: have $indent actually affect indentation
Currently, the $indent variable is just used to track how deeply we're
nested, and the debug log is indented by things like
debug " foo"
That is: The indentation-level is hard-coded. It used to be that the
code couldn't recurse, so the indentation level could be known
statically, so it made sense to just hard-code it in the
output. However, since 315a84f9aa ("subtree: use commits before rejoins
for splits", 2018-09-28), it can now recurse, and the debug log is
misleading.
So fix that. Indent according to $indent.
Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/fetch.br-config-explicit-merge')
0 files changed, 0 insertions, 0 deletions