Skip to content

The name of the Pull Request have the description when it's provided #63

Open
@marciorgb

Description

@marciorgb

Describe the bug

When using the git-xargs with a very big commit message, that includes \n characters (to create the description) the name the PR seems to ignore the \n.

I think the title should be only the name of the commit, and the description should be out of the title.

To Reproduce

Run the command of git-xargs with a very big commit message, that includes \n.

git-xargs --skip-archived-repos --loglevel DEBUG --dry-run --repo=foo/bar --branch-name \"branch/change_x_y_z\" --commit-message "Add x y z\n**X:** is to allow this\n **Y:** is to allow that\n **Z:** idk\n> OK this comment shouldn't appear in the PR name" python main.py

Expected behavior

The title of the PR for the command above should be: "Add x y z"

Nice to have

Screen Shot 2021-12-08 at 16 19 43

Screen Shot 2021-12-08 at 16 20 57

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions