OSDN Git Service

t1309: document cases where we would want early config not to die()
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 13 Mar 2017 20:11:26 +0000 (21:11 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Mar 2017 21:24:16 +0000 (14:24 -0700)
commit751d3b9415fc08c8cc926f55646b735b0237fd4a
treec0d47b72ea8edeadbb8fe68eaa8b18aa9e37df3a
parent01017dce5469660191f926e35a3d9e88cbcb8537
t1309: document cases where we would want early config not to die()

Jeff King came up with a couple examples that demonstrate how the new
read_early_config() that looks harder for the current .git/ directory
could die() in an undesirable way.

Let's add those cases to the test script, to document what we would like
to happen when early config encounters problems.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1309-early-config.sh