From 4f97ebf2c76b8763da9f57e7ad6d1457fc97a2bd Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 16 Aug 2008 10:24:21 -0300 Subject: Properly handles commit messages with date: field From: Mauro Carvalho Chehab This patch allows a better support for third party patches. Now, it will properly recognize and proccess messages with the following format: Date: From: Subject: This will help to better proccess messages received via email. Signed-off-by: Mauro Carvalho Chehab --- Makefile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f5bc79999..a1e609f0e 100644 --- a/Makefile +++ b/Makefile @@ -19,18 +19,7 @@ install: $(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS) commit cvscommit hgcommit change changes changelog:: whitespace - @cd $(BUILD_DIR); scripts/cardlist; cd .. - @v4l/scripts/prep_commit_msg.pl $(TMP)/v4l_hg_whitespace > \ - $(TMP)/v4l_hg_commit.msg - @CHECKSUM=`md5sum "$(TMP)/v4l_hg_commit.msg"`; \ - $(EDITOR) $(TMP)/v4l_hg_commit.msg || exit $?; \ - echo "$$CHECKSUM" | md5sum -c --status && \ - echo "*** commit message not changed. Aborting. ***" \ - && exit 13 || exit 0 - $(BUILD_DIR)/scripts/hghead.pl $(TMP)/v4l_hg_commit.msg | grep -v '^#' | hg commit -l - - @echo "*** PLEASE CHECK IF LOG IS OK:" - @hg log -v -r -1 - @echo "*** If not ok, do \"hg rollback\" and \"make commit\" again" + @cd $(BUILD_DIR); scripts/cardlist; scripts/do_commit.sh $(EDITOR) $(TMP)/v4l_hg_whitespace; cd .. qrefresh: Q=q qrefresh:: whitespace -- cgit v1.2.3