@@ -723,7 +723,7 @@ void test_status_renames__rename_threshold(void)
723723 git_index * index ;
724724 git_status_list * statuslist ;
725725 git_status_options opts = GIT_STATUS_OPTIONS_INIT ;
726-
726+
727727 _rename_helper (g_repo , "ikeepsix.txt" , "newname.txt" ,
728728 "Line 1\n" \
729729 "Line 2\n" \
@@ -735,49 +735,49 @@ void test_status_renames__rename_threshold(void)
735735 "Line 8\n" \
736736 "Line 9\n"
737737 );
738-
738+
739739 opts .flags |= GIT_STATUS_OPT_RENAMES_INDEX_TO_WORKDIR ;
740740 opts .flags |= GIT_STATUS_OPT_INCLUDE_UNTRACKED ;
741-
741+
742742 cl_git_pass (git_repository_index (& index , g_repo ));
743-
744- // Default threshold
743+
744+ /* Default threshold */
745745 {
746746 struct status_entry expected [] = {
747747 { GIT_STATUS_WT_RENAMED | GIT_STATUS_WT_MODIFIED , "ikeepsix.txt" , "newname.txt" },
748748 };
749-
749+
750750 cl_git_pass (git_status_list_new (& statuslist , g_repo , & opts ));
751751 check_status (statuslist , expected , 1 );
752752 git_status_list_free (statuslist );
753753 }
754-
755- // Threshold set to 90
754+
755+ /* Threshold set to 90 */
756756 {
757757 struct status_entry expected [] = {
758758 { GIT_STATUS_WT_DELETED , "ikeepsix.txt" , NULL },
759759 { GIT_STATUS_WT_NEW , "newname.txt" , NULL }
760760 };
761-
761+
762762 opts .rename_threshold = 90 ;
763-
763+
764764 cl_git_pass (git_status_list_new (& statuslist , g_repo , & opts ));
765765 check_status (statuslist , expected , 2 );
766766 git_status_list_free (statuslist );
767767 }
768-
769- // Threshold set to 25
768+
769+ /* Threshold set to 25 */
770770 {
771771 struct status_entry expected [] = {
772772 { GIT_STATUS_WT_RENAMED | GIT_STATUS_WT_MODIFIED , "ikeepsix.txt" , "newname.txt" },
773773 };
774-
774+
775775 opts .rename_threshold = 25 ;
776-
776+
777777 cl_git_pass (git_status_list_new (& statuslist , g_repo , & opts ));
778778 check_status (statuslist , expected , 1 );
779779 git_status_list_free (statuslist );
780780 }
781-
781+
782782 git_index_free (index );
783783}
0 commit comments