RFR: git-webrev: add flags --base and --head

Erik Helin ehelin at openjdk.java.net
Sat Aug 15 10:48:11 UTC 2020

Hi all,

please review this patch that adds two new flags to `git-webrev` - `--base` and `--head`. The flag `--base` behaves
like `-r, --rev`, that is determines the base commit to compare against. The flag `--head` determines the commit to use
a `HEAD` for the comparison, that is the most recent commit for the comparison. The two flags `--base` and `--head`
allows a user to create a webrev between two arbitrary commits (without forcing to check out the head commit first).

- Manual testing on Linux x64



Commit messages:
 - git-webrev: add flags --base and --head

Changes: https://git.openjdk.java.net/skara/pull/716/files
 Webrev: https://webrevs.openjdk.java.net/skara/716/webrev.00
  Stats: 29 lines in 1 file changed: 26 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/skara/pull/716.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/716/head:pull/716

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

More information about the skara-dev mailing list