Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(134)

Issue 105070043: code review 105070043: go.tools/present: allow intentionally empty parameters (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 10 months ago by kortschak
Modified:
9 years, 10 months ago
Reviewers:
r
CC:
adg, r, golang-codereviews
Visibility:
Public.

Description

go.tools/present: allow intentionally empty parameters Fixes issue 7613.

Patch Set 1 #

Patch Set 2 : diff -r 15d5d18b23ba https://code.google.com/p/go.tools #

Patch Set 3 : diff -r 15d5d18b23ba https://code.google.com/p/go.tools #

Total comments: 2

Patch Set 4 : diff -r 15d5d18b23ba https://code.google.com/p/go.tools #

Patch Set 5 : diff -r 15d5d18b23ba https://code.google.com/p/go.tools #

Patch Set 6 : diff -r 8efe8f7742d5 https://code.google.com/p/go.tools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M present/code.go View 1 1 chunk +2 lines, -0 lines 0 comments Download
M present/doc.go View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M present/image.go View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9
kortschak
Hello adg@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.tools
9 years, 10 months ago (2014-06-11 06:51:54 UTC) #1
adg
Looks good to me. Rob? https://codereview.appspot.com/105070043/diff/60001/present/doc.go File present/doc.go (right): https://codereview.appspot.com/105070043/diff/60001/present/doc.go#newcode173 present/doc.go:173: allows preserving the aspect ...
9 years, 10 months ago (2014-06-12 00:26:01 UTC) #2
r
Where is the facility used?
9 years, 10 months ago (2014-06-12 00:31:01 UTC) #3
kortschak
PTAL It can currently be worked around by saying `.image foo.png 200 0` for example, ...
9 years, 10 months ago (2014-06-12 00:53:46 UTC) #4
r
that's pretty magical. no wonder i didn't see how it worked. how about a comment ...
9 years, 10 months ago (2014-06-12 16:04:19 UTC) #5
kortschak
PTAL On 2014/06/12 16:04:19, r wrote: > that's pretty magical. no wonder i didn't see ...
9 years, 10 months ago (2014-06-12 22:36:14 UTC) #6
r
LGTM
9 years, 10 months ago (2014-06-12 22:44:01 UTC) #7
r
*** Submitted as https://code.google.com/p/go/source/detail?r=1e6e75afb0cd&repo=tools *** go.tools/present: allow intentionally empty parameters Fixes issue 7613. LGTM=r R=adg, ...
9 years, 10 months ago (2014-06-12 22:44:58 UTC) #8
kortschak
9 years, 10 months ago (2014-06-12 23:03:39 UTC) #9
Message was sent while issue was closed.
Late thought.

This does not check that the argument is "_", just that it matches /_.*/. If
either of you think this is important I will send another CL to fix that.

On 2014/06/12 22:44:58, r wrote:
> *** Submitted as
> https://code.google.com/p/go/source/detail?r=1e6e75afb0cd&repo=tools ***
> 
> go.tools/present: allow intentionally empty parameters
> 
> Fixes issue 7613.
> 
> LGTM=r
> R=adg, r
> CC=golang-codereviews
> https://codereview.appspot.com/105070043
> 
> Committer: Rob Pike <mailto:r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b