author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Thu, 22 Sep 2011 11:24:22 +0000 (21:24 +1000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 22 Sep 2011 18:35:44 +0000 (11:35 -0700) | ||
commit | 17d26a4d0485229c24b649013a40d5928ba223cc | |
tree | cfb5da4ebf1e1a101a57b7bd679aa58f912800cf | tree | snapshot |
parent | f696543dad6c7ba27b0c4fab167a5687263a9ba0 | commit | diff |
sparse checkout: show error messages when worktree shaping fails
verify_* functions can queue errors up and to be printed later at
label return_failed. In case of errors, do not go to label "done"
directly because all queued messages would be dropped on the floor.
Found-by: Joshua Jensen <jjensen@workspacewhiz.com>
Tracked-down-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
verify_* functions can queue errors up and to be printed later at
label return_failed. In case of errors, do not go to label "done"
directly because all queued messages would be dropped on the floor.
Found-by: Joshua Jensen <jjensen@workspacewhiz.com>
Tracked-down-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1011-read-tree-sparse-checkout.sh | diff | blob | history | |
unpack-trees.c | diff | blob | history |