Skip to content

[broken][ruby 2.2.1] output of git config --get remote.origin.url terminates with newline #21

Closed
@torbjoernk

Description

@torbjoernk

The output of git config --get remote.origin.url to get the repository URL terminates with a newline, breaking the final system call to the bash script.

Fix: call String#strip on the output (c.f. /bin/jgd line 18)

I've tested that with Ruby 2.2.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions