Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2022-08-05 20:58:41 +0300
committerJunio C Hamano <gitster@pobox.com>2022-08-06 00:13:12 +0300
commit3e103ed23f2950a111a9ef8480a629d7331dc6ee (patch)
treeb714065734958499b6b2ec56065ff39b7bfc3137 /t/t4202-log.sh
parent748706d71365f419dad94cb7e54a31151c197218 (diff)
log: create log.initialDecorationSet=all
The previous change introduced the --clear-decorations option for users who do not want their decorations limited to a narrow set of ref namespaces. Add a config option that is equivalent to specifying --clear-decorations by default. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4202-log.sh')
-rwxr-xr-xt/t4202-log.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t4202-log.sh b/t/t4202-log.sh
index 90800feb0f..4b2d642d34 100755
--- a/t/t4202-log.sh
+++ b/t/t4202-log.sh
@@ -1090,6 +1090,9 @@ test_expect_success '--clear-decorations overrides defaults' '
EOF
git log --decorate=full --pretty="tformat:%f%d" \
--clear-decorations >actual &&
+ test_cmp expect.all actual &&
+ git -c log.initialDecorationSet=all log \
+ --decorate=full --pretty="tformat:%f%d" >actual &&
test_cmp expect.all actual
'