From 332de7a1c89a579f15ca41c11e606007cc32fdbf Mon Sep 17 00:00:00 2001 From: Sebastian Morr Date: Fri, 2 Dec 2011 23:55:28 +0100 Subject: [PATCH 1/2] Add MYMETA.yml to perl/.gitignore This file is auto-generated by newer versions of ExtUtils::MakeMaker (presumably starting with the version shipping with Perl 5.14). It just contains extra information about the environment and arguments to the Makefile-building process, and should be ignored. Signed-off-by: Sebastian Morr Signed-off-by: Junio C Hamano --- perl/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/perl/.gitignore b/perl/.gitignore index 98b24772c7ebe8..9235e731632045 100644 --- a/perl/.gitignore +++ b/perl/.gitignore @@ -1,5 +1,6 @@ perl.mak perl.mak.old +MYMETA.yml blib blibdirs pm_to_blib From c2857fb8b7903b2bba9217310971e5282549174d Mon Sep 17 00:00:00 2001 From: Jeff King Date: Mon, 5 Dec 2011 17:29:15 -0500 Subject: [PATCH 2/2] stripspace: fix outdated comment The comment on top of stripspace() claims that the buffer will no longer be NUL-terminated. However, this has not been the case at least since the move to using strbuf in 2007. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- builtin/stripspace.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/builtin/stripspace.c b/builtin/stripspace.c index 4d3b93fedb5f2e..1288ffcc52530f 100644 --- a/builtin/stripspace.c +++ b/builtin/stripspace.c @@ -22,8 +22,6 @@ static size_t cleanup(char *line, size_t len) * Remove empty lines from the beginning and end * and also trailing spaces from every line. * - * Note that the buffer will not be NUL-terminated. - * * Turn multiple consecutive empty lines between paragraphs * into just one empty line. *