From: Galen Charlton Date: Tue, 17 May 2011 19:09:51 +0000 (-0400) Subject: add a bit of context to upgrade SQL hints X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=41510e82a8946a13965c7db5ed10b0491d88f603 add a bit of context to upgrade SQL hints Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/make-db-patch.pl b/Open-ILS/src/sql/Pg/make-db-patch.pl index 30993b8..663b901 100755 --- a/Open-ILS/src/sql/Pg/make-db-patch.pl +++ b/Open-ILS/src/sql/Pg/make-db-patch.pl @@ -97,7 +97,7 @@ if (@deprecates or @supersedes) { } my $patch_init_contents; -$patch_init_contents = `git diff $patch_from -- ./[0-9][0-9][0-9].*.sql | sed -e '/^[^+-]/d' -e '/^\\(--- a\\|+++ b\\)/d' -e 's/^+//'` if ($patch_from ne ''); +$patch_init_contents = `git diff $patch_from -- ./[0-9][0-9][0-9].*.sql | sed -e '/^[^+\@-]/d' -e '/^\\(--- a\\|+++ b\\)/d' -e 's/^+//'` if ($patch_from ne ''); print OUT <<_FOOTER_;