summaryrefslogtreecommitdiff
path: root/pack-write.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-28 14:48:57 -0700
committerJunio C Hamano <gitster@pobox.com>2008-05-28 17:38:20 -0700
commitd2b3691b61d516a0ad2bf700a2a5d9113ceff0b1 (patch)
tree70a03d79431c4024e3dc3cb07bd5bfad7a0911cb /pack-write.c
parenta7052d3521de1210026bf5a29d57c37ee7800166 (diff)
downloadgit-d2b3691b61d516a0ad2bf700a2a5d9113ceff0b1.tar.gz
"git checkout -- paths..." should error out when paths cannot be written
When "git checkout -- paths..." cannot update work tree for whatever reason, checkout_entry() correctly issued an error message for the path to the end user, but the command ignored the error, causing the entire command to succeed. This fixes it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-write.c')
0 files changed, 0 insertions, 0 deletions