Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2 3/3] git-p4: Add test case for complex branch import

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:51

Vitor Antunes [off-list ref] writes:
quoted
quoted
quoted
+             p4 submit -d "branch5"
That's a strange quoting convention. Why are "branch4" and "branch5"
enclosed in double quotes while "integrate" and "submit" aren't?
(rhetorical: do not quote these branch names without a good reason).
There is no reason that I can remember to have those enclosed in double
quotes. Will double check in my local branches at home tonight. Anyway,
expect a fix for this in v3.
I now see why I added the quotes. The -d option is used to input the
description of the commit, which can contain spaces and other special
characters. Admittedly they are not required in this case, but from a
consistency point of view I would prefer to keep them.
Hmm, the argument "branch5" made it look like it is the name of the branch
you are giving here. If it is supposed to be human-readable free-form text
description, I would prefer to see it as such, e.g.

	p4 submit -d "integrate changes on branch #1 to branch #5"

or something like that.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help