summaryrefslogtreecommitdiff
path: root/t/t7011-skip-worktree-reading.sh
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2015-01-07 19:23:16 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-01-07 19:56:42 -0800
commitb6a4788586d8d1e88eee298c4a9a571416e50e3a (patch)
treec97e3d66eca5c2ab7b39deb42af377cadba84f15 /t/t7011-skip-worktree-reading.sh
parentreceive-pack.c: shorten the execute_commands loop over all commands (diff)
downloadtgif-b6a4788586d8d1e88eee298c4a9a571416e50e3a.tar.xz
receive-pack.c: die instead of error in case of possible future bug
Discussion on the previous patch revealed we rather want to err on the safe side. To do so we need to stop receive-pack in case of the possible future bug when connectivity is not checked on a shallow push. Also while touching that code we considered that removing the reported refs may be harmful in some situations. Sound the message more like a "This Cannot Happen, Please Investigate!" instead of giving advice to remove refs. Suggested-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7011-skip-worktree-reading.sh')
0 files changed, 0 insertions, 0 deletions