LucasLarson/dotfiles

`git add -p` isn’t always in `/usr/libexec`

LucasLarson opened this issue · 1 comments

Verifying git add -p’s installation1 should allow looking in both /usr/lib/git-core as well as the current search in /usr/libexec/git-core2

Footnotes

  1. a Perl file named git-add--interactive3

  2. https://github.com/LucasLarson/dotfiles/blob/f978f2fa3fea0752c3d545e6381d140740606dbe/setup/init.sh#L160

  3. git/git@fc8a8126df/git-add--interactive.perl

look[] in both /usr/lib/git-core as well as . . . /usr/libexec/git-core

the location of this directory is always
"$(git --exec-path)"1

Footnotes

  1. stackoverflow.com/a/42008526