RFR: 1849: Exception when creating a new PR from CLI

Zhao Song zsong at openjdk.org
Mon Mar 20 18:32:59 UTC 2023


Since `git-for-each-ref` is updated in git 2.40.0, the output of this command is changed and would invoke some errors when using `git pr create`.

In this patch, we would filter out invalid output when trying to find candidate target refs.

-------------

Commit messages:
 - SKARA-1849

Changes: https://git.openjdk.org/skara/pull/1488/files
 Webrev: https://webrevs.openjdk.org/?repo=skara&pr=1488&range=00
  Issue: https://bugs.openjdk.org/browse/SKARA-1849
  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/skara/pull/1488.diff
  Fetch: git fetch https://git.openjdk.org/skara.git pull/1488/head:pull/1488

PR: https://git.openjdk.org/skara/pull/1488


More information about the skara-dev mailing list