checkout: make reset_clean_to_new() not die by itself
commit84a5750bc5e5211bd06857e4edb08e332d0e7adf
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 May 2008 21:54:02 +0000 (28 14:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 May 2008 00:38:21 +0000 (28 17:38 -0700)
tree25aadfbf0c400739690a2cc9ed8f2ee9e43f4c1f
parentd2b3691b61d516a0ad2bf700a2a5d9113ceff0b1
checkout: make reset_clean_to_new() not die by itself

Instead, have its error percolate up through the callchain and let it be
the exit status of the main command.  No semantic changes yet.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-checkout.c