summaryrefslogtreecommitdiff
path: root/connected.h
diff options
context:
space:
mode:
authorLibravatar Matheus Tavares <matheus.bernardino@usp.br>2020-09-09 10:16:08 -0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-09-09 12:47:47 -0700
commit378fe5fc3d5e415b2d7062e29bc99029dc3418d5 (patch)
tree5cb7f4d175af6aed63dec9cbde3e45deb2261317 /connected.h
parentGit 2.28 (diff)
downloadtgif-378fe5fc3d5e415b2d7062e29bc99029dc3418d5.tar.xz
config: complain about --worktree outside of a git repo
Running `git config --worktree` outside of a git repository hits a BUG() when trying to enumerate the worktrees. Let's catch this error earlier and die() with a friendlier message. Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connected.h')
0 files changed, 0 insertions, 0 deletions