checkout: consolidate reset_{to_new,clean_to_new}()
commit6286a08db3d1e718f4be6959d0f380215026800b
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 May 2008 21:59:40 +0000 (28 14:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 May 2008 00:35:10 +0000 (29 17:35 -0700)
tree83c5dc0a935bb5fd3a74eece576b86fa65726110
parent84a5750bc5e5211bd06857e4edb08e332d0e7adf
checkout: consolidate reset_{to_new,clean_to_new}()

These two were very similar functions with only tiny bit of difference.

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