revert: fix edition of newly added file during --interactive
Before this patch: editing hunks of newly added file when performing a revert
--interactive had no effect: the edits were discarded.
After this patch, the edits are taken into account.
CC := gcc
CFLAGS := -g -O2 -Wall -Werror
prefix ?= /usr/bin
hgsh: hgsh.o
$(CC) -o $@ $<
install: hgsh
install -m755 hgsh $(prefix)
clean:
rm -f *.o hgsh