Re: commit -> public-inbox link helper
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 4, 2018, 21:02 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1804042259250.55@ZVAVAG-6OXH6DA.rhebcr.pbec.zvpebfbsg.pbz>
- In-Reply-To
- <CANoM8SX_+UwSjFUgW77mW25d6Z1CxJJwbDduNqAkygGeKwru6A@mail.gmail.com>
Hi Mike,
as I said here:
On Wed, 4 Apr 2018, Mike Rappazzo wrote:
Show 17 quoted lines
> On Wed, Apr 4, 2018 at 12:35 PM, Johannes Schindelin > <Johannes.Schindelin@gmx.de> wrote: > > > > [...] > > > > With --open, it opens the mail in a browser (macOS support is missing, > > mainly because I cannot test: just add an `open` alternative to > > `xdg-open`). > > > > [...] > > open) > > url=https://public-inbox.org/git/$messageid > > case "$(uname -s)" in > > Linux) xdg-open "$url";; > > MINGW*|MSYS*) start "$url";; > > Darwin*) open "$url";;
I am aware of this alternative, but as I do not currently develop on macOS apart from headless build agents, I did not add support for that.
Feel free to adopt the script, publish it in a GitHub repository, adapt it to use refs/notes/amlog instead of a public-inbox mirror, and then tell me where I can clone it ;-)
Ciao, Johannes