Skip to content

gh pr create doesn't autofill commit body when skipping body #674

@ampinsk

Description

@ampinsk

I was doing some QAing of the latest release and noticed that when I followed these steps the body didn't autofill as I expected:

  1. Made a single commit with a title and body: git commit -m "Title" -m "Body" --allow-empty
  2. gh pr create
  3. accepted auto filled title
  4. Enter to skip
  5. Submit

The resulting PR was missing the body:

Screen Shot 2020-03-18 at 4 03 50 PM

When I did the same process, and used e to view it in the editor first, it worked. I would expect to be able to use enter to skip and it would still autofill

Let me know if I can provide any more context!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedContributions welcomepriority-2Affects more than a few users but doesn't prevent core functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions