From: Alex Chiang <hidden> Date: 2016-06-15 22:44:57
git is in the process of moving subcommands to /usr/libexec/git-core
This move breaks an assumption in guilt about the location of
git-sh-setup.
We can ask git for where it thinks its executables live.
Signed-off-by: Alex Chiang <redacted>
---
Beware of the proverbial "/Program Files/Git" location, however.
Indeed. And when trying to stray not _too_ far away from the coding style
of git.git, avoid the backticks, too, like so:
. "$(git --exec-path)"/git-sh-setup
Ciao,
Dscho
From: Josef 'Jeff' Sipek <hidden> Date: 2016-06-15 22:44:57
On Wed, Jul 16, 2008 at 05:23:39PM -0600, Alex Chiang wrote:
git is in the process of moving subcommands to /usr/libexec/git-core
This move breaks an assumption in guilt about the location of
git-sh-setup.
I already have a fix for this queued up.
Thanks anyway,
Josef 'Jeff' Sipek.
P.S. Pasky: good catch, I'll check the queued up patch to make sure it's not
"broken"
--
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like
that.
- Linus Torvalds