RFR: Store target hash before potentially fetching the ref

Robin Westberg rwestberg at openjdk.java.net
Wed Aug 26 07:31:57 UTC 2020


Hi all,

Please review this change that determines the hash of the target ref for a PR before returning the ref. This ensures
that subsequently fetching the ref contains the hash (barring concurrent force pushes to the target ref, which should
never happen).

Best regards,
Robin

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

Commit messages:
 - Store target hash before potentially fetching the ref

Changes: https://git.openjdk.java.net/skara/pull/742/files
 Webrev: https://webrevs.openjdk.java.net/?repo=skara&pr=742&range=00
  Stats: 21 lines in 2 files changed: 17 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/skara/pull/742.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/742/head:pull/742

PR: https://git.openjdk.java.net/skara/pull/742


More information about the skara-dev mailing list