summaryrefslogtreecommitdiff
path: root/t/t8003-blame-corner-cases.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2016-02-24 13:48:11 +0100
committerJunio C Hamano <gitster@pobox.com>2016-02-25 10:52:32 -0800
commit638fa623d5b5fb392a062edf61ccf086d35ab26b (patch)
tree84302c056b5ea59b7e0dd1079b8dc1d14b869ab5 /t/t8003-blame-corner-cases.sh
parent326e5bc91eecf73234ead29636207bc516573e79 (diff)
downloadgit-638fa623d5b5fb392a062edf61ccf086d35ab26b.tar.gz
git config: report when trying to modify a non-existing repo configjs/config-set-in-non-repository
It is a pilot error to call `git config section.key value` outside of any Git worktree. The message error: could not lock config file .git/config: No such file or directory is not very helpful in that situation, though. Let's print a helpful message instead. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8003-blame-corner-cases.sh')
0 files changed, 0 insertions, 0 deletions