New issue
Advanced search Search tips

Issue 723706 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 663787
Owner: ----
Closed: May 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: ----


Previous locations:
gerrit:6237


Sign in to add a comment

(Some?) punctuation stripped from patchset title during upload

Project Member Reported by pkasting@chromium.org, May 17 2017

Issue description

Uploaded a patch to polygerrit where I titled the patchset "Self-review".  The patchset appears in polygerrit ( https://chromium-review.googlesource.com/c/505639/ patch 3) as "Selfreview".

Obviously minor in this case, but somewhat less readable, and could be a bigger issue later.
 
Oh, did I file this in the wrong tracker?  This might not be polygerrit but rather git cl?

Comment 2 by wyatta@google.com, May 17 2017

Cc: aga...@chromium.org

Comment 3 by wyatta@google.com, May 17 2017

Project: chromium
Moved issue gerrit:6237 to now be  issue chromium:723706 .

Comment 4 by logan@google.com, May 17 2017

Components:
To pass the title to Gerrit, git cl upload has to use an encoding that doesn't support a lot of punctuation (the option value is embedded in the name of the "magic" branch you're pushing the code review to). Someday we hope to get support for server options on pushes added to the git wire protocol, so we don't have to depend on this hack.

Alternatively, git cl upload could follow up with an API request direct to Gerrit:

https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#set-description

It could inspect the content of the title and decide which method to use accordingly.

Comment 5 by aga...@chromium.org, May 17 2017

Mergedinto: 663787
Status: Duplicate (was: New)

Sign in to add a comment