[go: up one dir, main page]

Devtools/apply_proto_patch: fix "changes_path" preventing to commit

What

When used with "-c" argument, but without "--path" option, the scripts fails to stage files to be commited. The "$CHANGES_PATH" expression is taken as an argument with an empty string instead of no argument. This change fixes this.

Manually testing the MR

port any protocol-related patch without --path option, now works, used to fail. also using the --path option still works.

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports

Loading