Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature start from release #169

Closed

Conversation

jcorre-hipay
Copy link
Contributor

Add 'demo start from-release' and 'feature start from-release', and improve bash completion.

@@ -1292,7 +1292,7 @@ function displayQuotedEnum () {
if [ -z "$trimmed_list" ]; then
echo
else
local quoted_list="'<b>${trimmed_list// /</b>', '<b>}</b>'"
local quoted_list="'<b>${trimmed_list// /</b>\', \'<b>}</b>'"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't understand the reason. And these escaped quotes failed unit tests: https://travis-ci.org/Twenga/twgit/builds/205628394#L166

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have counter-commit this line to pass the rest of the pull request.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, maybe this point needs more investigations. In my environment, the tests don't pass because the quotes disappear. For example, a twgit feature list prints:

/!\ Following branches are out of process: 'origin/rm-1, origin/rm-2, origin/rm-3'!

I am on Ubuntu 16.04 with bash version 4.3.46(1)-release (x86_64-pc-linux-gnu).

@geoffroy-aubry
Copy link
Member

geoffroy-aubry commented Feb 26, 2017

Thanks a lot for this interesting contribution! :-)

@geoffroy-aubry geoffroy-aubry added this to the v1.19.0 milestone Feb 27, 2017
@jcorre-hipay jcorre-hipay deleted the feature-start-from-release branch February 27, 2017 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants