On 11-09-17 07:33 PM, Chris Packham wrote:
Hmm no joy with \&. Seems to upset the invocation of git web-browse
git config gitk.linkify.bugtracker.sub \
'https://internalhost/code\&stuff/bugs.php?id=\1'
gitk
/home/chrisp/libexec/git-core/git-web--browse: line 167:
stuff/bugs.php?id=bug123: No such file or directory
fatal: 'web--browse' appears to be a git command, but we were not
able to execute it. Maybe git-web--browse is broken?
Using the following works as expected with no error with your updated patch.
git config gitk.linkify.bugtracker.sub \
'https://internalhost/code%26stuff/bugs.php?id=\1'
Jeff: This is great -- thanks!
I still had problems with using an & in the URL, even with the updated patch.
I had to apply Chris's git-web--browse patch to get it to work.
M.