Hypothetically, if the IDF was a “halachically run” military force; what would be the Halacha against killing innocents?
For example, there is a famous case of the ל"ה troops during the Israeli war of independence. Where they came across an innocent Arab farmer, their orders were to kill anyone but they decided not to because he was innocent knowing that he might tell on them to the local Arab legion. Long story short the Arab farmer told and all 35 died. Is there any Halacha related to killing innocents in a time of war, more so if it was a Jewish/“halachic” army?