gerrit/Documentation
David Pursehouse 1713820b47 Inline edit: Strip trailing blank lines from commit messages
Trim the input commit message to prevent trailing blank lines. If
blank lines are present, it causes problems when the commit is
merged and then cherry-picked with the -x option (from the command
line).

Trim it both on the client and on the server.  If we do it only on
the client, it will still be possible to update the commit message
with trailing blank lines by a direct call to the REST API.

Bug: Issue 3616
Change-Id: I1a3df4668d7ba6f395c5e782e2962652ead577d8
2015-10-26 08:18:05 +00:00
..
images Remove documentation of "Edit Message" feature 2015-01-30 05:32:46 +00:00
man Add SSH command to set group members 2013-06-14 20:30:32 +02:00
.gitignore Documentation/Makefile: Remove SVN publish support 2014-05-19 13:42:34 -07:00
access-control.txt Merge branch 'stable-2.10' into stable-2.11 2015-05-19 16:30:35 +09:00
asciidoc.conf Add asciidoc build back in the Documentation folder 2014-05-14 11:05:42 +09:00
asciidoc.defs Pack prettify.min.{js,css} into documentation. 2015-06-26 03:04:09 +00:00
BUCK Add buck rule to generate docs for static hosting. 2014-09-05 14:19:15 -07:00
cmd-apropos.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-ban-commit.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-cherry-pick.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-close-connection.txt Add command to close SSH connection 2015-01-19 09:54:55 -05:00
cmd-create-account.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-create-branch.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-create-group.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-create-project.txt Tidy up documentation of --create-new-change-for-all-not-in-target 2014-12-03 21:58:23 +09:00
cmd-flush-caches.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-gc.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-gsql.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-hook-commit-msg.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-index-activate.txt Add ssh command to activate the latest index 2015-07-09 08:05:11 -04:00
cmd-index-start.txt Add ssh command to restart online indexer 2015-07-09 08:05:11 -04:00
cmd-index.txt Add ssh command to activate the latest index 2015-07-09 08:05:11 -04:00
cmd-kill.txt Revert "== GERRIT" in documentation. 2014-03-25 19:44:49 +00:00
cmd-logging-ls-level.txt Add SSH to configure logging level at runtime 2014-09-26 09:13:35 -04:00
cmd-logging-set-level.txt Add SSH to configure logging level at runtime 2014-09-26 09:13:35 -04:00
cmd-ls-groups.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-ls-members.txt Documentation: Format fix headlines 2014-03-24 18:32:42 -07:00
cmd-ls-projects.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-ls-user-refs.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-plugin-enable.txt Documentation update for cmd-plugin 2015-01-21 11:03:08 +09:00
cmd-plugin-install.txt Documentation update for cmd-plugin 2015-01-21 11:03:08 +09:00
cmd-plugin-ls.txt Correct documentation of required capabilities for listing plugins 2015-04-30 00:58:28 +00:00
cmd-plugin-reload.txt Documentation update for cmd-plugin 2015-01-21 11:03:08 +09:00
cmd-plugin-remove.txt Documentation update for cmd-plugin 2015-01-21 11:03:08 +09:00
cmd-query.txt Terminate sortkey with prejudice 2014-12-23 14:48:06 -08:00
cmd-receive-pack.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-rename-group.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-review.txt Add --rebase option to review command 2014-09-09 13:08:04 -04:00
cmd-set-account.txt Fix minor typo in set-account command documentation 2015-05-12 05:03:16 +00:00
cmd-set-members.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-set-project-parent.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-set-project.txt Fix inconsistency in documentation 2014-05-07 14:51:17 +02:00
cmd-set-reviewers.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
cmd-show-caches.txt Merge "Require 'Administrate Server' capability to see server summary" 2014-07-02 18:57:01 +00:00
cmd-show-connections.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-show-queue.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-stream-events.txt Include merge result commit in change-merged stream-event 2015-01-20 09:04:48 +00:00
cmd-suexec.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-test-submit-rule.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-test-submit-type.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
cmd-version.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-auto-site-initialization.txt Control which plugins will be auto installed on auto init 2014-02-24 11:11:04 +01:00
config-cla.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-contact.txt OpenID: Remove support for Google Accounts 2015-03-01 22:25:50 +01:00
config-gerrit.txt Fix plugin reload link in checkFrequency documentation 2015-06-05 01:45:35 +00:00
config-gitweb.txt Work around asciidoctor handling of nested ` and * 2015-04-06 17:22:37 +09:00
config-hooks.txt Add missing --newrev parameter to change-merged hook documentation 2015-04-27 05:34:25 +00:00
config-labels.txt Fix formatting in documentation about review labels 2015-04-07 09:38:36 +02:00
config-login-register.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-mail.txt Documentation: Case consistencies for SEE ALSO 2014-03-24 19:02:08 -07:00
config-plugins.txt Add anchors to plugin sections in plugin documentation page 2015-04-16 15:29:38 +02:00
config-project-config.txt Work around asciidoctor handling of nested ` and * 2015-04-06 17:22:37 +09:00
config-reverseproxy.txt Fix typo in Apache 2 documentation 2015-05-05 15:58:51 +02:00
config-sso.txt OpenID: Remove support for Google Accounts 2015-03-01 22:25:50 +01:00
config-themes.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
config-validation.txt Added OutgoingEmailValidationListener 2015-01-06 09:02:39 +01:00
config.defs Pack prettify.min.{js,css} into documentation. 2015-06-26 03:04:09 +00:00
database-setup.txt Merge branch 'stable-2.8' into stable-2.9 2014-07-08 18:24:26 +09:00
dev-buck.txt Documentation: clone buck from Github 2015-04-16 16:03:14 +09:00
dev-build-plugins.txt Add HOWTO documentation about building of plugins 2014-01-24 23:16:25 +01:00
dev-contributing.txt Document one argument per line for constructor injection 2015-02-10 09:58:47 +01:00
dev-design.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-eclipse.txt Tidy up the Eclipse debugging documentation 2015-01-16 19:26:25 +09:00
dev-inspector.txt Fix various spelling mistakes 2015-05-19 15:05:26 +09:00
dev-plugins.txt Set version to 2.11.4 2015-10-13 20:57:17 +09:00
dev-readme.txt Remove paragraph about GWT DETAILED from developer documentation 2014-12-19 14:33:35 +09:00
dev-release-deploy-config.txt Update link to Sonatype documentation about PGP signatures 2014-10-02 10:22:58 +02:00
dev-release-subproject.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
dev-release.txt dev-release: Document that plugins should also be tagged 2015-02-10 01:36:45 +00:00
dev-rest-api.txt Make Content-Type examples consistent with actual server output 2015-01-06 06:54:12 +00:00
doc.css.in Fix rendering of links in license documentation 2014-11-04 22:55:01 +01:00
error-branch-not-found.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-change-closed.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-change-does-not-belong-to-project.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
error-change-not-found.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
error-change-upload-blocked.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-commit-already-exists.txt Merge branch 'stable-2.8' 2014-03-11 18:24:13 +09:00
error-contains-banned-commit.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-has-duplicates.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
error-invalid-author.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-invalid-changeid-line.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-invalid-committer.txt Fix reference to Forge Committer access right in documentation 2014-07-08 07:24:01 +00:00
error-messages.txt Improve reject message if Change-Id is in subject 2014-02-21 09:25:33 +01:00
error-missing-changeid.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
error-missing-subject.txt Improve reject message if Change-Id is in subject 2014-02-21 09:25:33 +01:00
error-multiple-changeid-lines.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-no-changes-made.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-no-common-ancestry.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-no-new-changes.txt Update no-new-change error message documentation 2015-10-09 14:58:49 +00:00
error-non-fast-forward.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-a-gerrit-administrator.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-allowed-to-upload-merges.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-permitted-to-create.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-signed-off-by.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-not-valid-ref.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-permission-denied.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-prohibited-by-gerrit.txt Work around asciidoctor handling of nested ` and * 2015-04-06 17:22:37 +09:00
error-project-not-found.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
error-push-fails-due-to-commit-message.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
error-squash-commits-first.txt Minor improvements in the 'squash commits first' error documentation 2014-09-05 09:25:33 +09:00
error-upload-denied.txt Added searchbox to documentation. 2013-11-05 12:49:43 -08:00
gen_licenses.py Fix rendering of links in license documentation 2014-11-04 22:55:01 +01:00
i18n-readme.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
index.txt Add user guide 2015-04-30 14:37:09 +00:00
install-j2ee.txt Fix broken formatting in Tomcat reverse proxy config documentation 2014-10-21 11:04:42 +09:00
install-quick.txt Fix clone URL in quick-install documentation 2015-09-25 14:56:06 -04:00
install.txt Fix inconsistency in documentation 2014-05-07 14:51:17 +02:00
intro-project-owner.txt Project Owner Guide: Mention importer plugin to rename project 2015-04-17 10:27:53 +02:00
intro-quick.txt Consistently refer to Change-Id in documentation 2014-09-04 13:12:24 +09:00
intro-user.txt Add user guide 2015-04-30 14:37:09 +00:00
js-api.txt Allow plugins to check if user is signed in 2015-01-20 23:16:26 +01:00
json.txt Added copyAllScoresIfNoChange 2015-02-17 10:29:38 +09:00
Makefile Documentation/Makefile: Remove SVN publish support 2014-05-19 13:42:34 -07:00
pgm-daemon.txt Allow to use --enable-httpd with --slave 2014-10-30 11:02:24 -04:00
pgm-gsql.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-index.txt Add documentation for SecureStore 2015-02-23 09:53:05 +01:00
pgm-init.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-LocalUsernamesToLowerCase.txt Doc: Consistently refer to "Web UI" rather than "WebUI" 2014-05-02 17:21:22 +09:00
pgm-prolog-shell.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-reindex.txt Remove --recheck-mergeable option from reindex documentation 2015-09-24 10:10:40 +02:00
pgm-rulec.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
pgm-SwitchSecureStore.txt Add documentation for SecureStore 2015-02-23 09:53:05 +01:00
project-configuration.txt Add user guide 2015-04-30 14:37:09 +00:00
prolog-change-facts.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
prolog-cookbook.txt Merge branch 'stable-2.10' into stable-2.11 2015-05-19 16:30:35 +09:00
replace_macros.py Merge branch 'stable-2.10' 2014-12-12 20:25:48 +09:00
rest-api-access.txt Make Content-Type examples consistent with actual server output 2015-01-06 06:54:12 +00:00
rest-api-accounts.txt Fix change-id link in api documentation of unstarring a change 2015-06-05 01:44:14 +00:00
rest-api-changes.txt rest-api-changes.txt: fix minor spelling mistake 2015-05-19 16:33:03 +09:00
rest-api-config.txt Sort REST JSON entities alphabetically 2015-01-26 04:45:30 +00:00
rest-api-documentation.txt Don't limit tables to 50% width in REST API documentation 2014-11-25 18:35:53 +09:00
rest-api-groups.txt Sort REST JSON entities alphabetically 2015-01-26 04:45:30 +00:00
rest-api-plugins.txt Make Content-Type examples consistent with actual server output 2015-01-06 06:54:12 +00:00
rest-api-projects.txt Clarify project-name ID in REST API documentation 2015-03-06 10:18:58 +00:00
rest-api.txt Consistently format HTTP response codes in REST API documentation 2015-01-21 11:42:32 +09:00
user-changeid.txt Work around asciidoctor handling of nested ` and * 2015-04-06 17:22:37 +09:00
user-dashboards.txt Add user guide 2015-04-30 14:37:09 +00:00
user-inline-edit.txt Inline edit: Strip trailing blank lines from commit messages 2015-10-26 08:18:05 +00:00
user-notify.txt Clarify notification scheme on watched projects 2014-12-12 13:46:38 -06:00
user-review-ui.txt Revert marking merged or abandoned changes in related changes 2015-04-09 13:00:45 +00:00
user-search.txt Add user guide 2015-04-30 14:37:09 +00:00
user-signedoffby.txt Revert "== GERRIT" in documentation. 2014-03-25 19:44:49 +00:00
user-submodules.txt Use the new section title style in Asciidoctor. 2013-12-20 12:55:51 -08:00
user-upload.txt Add user guide 2015-04-30 14:37:09 +00:00