git-toolbelt
git-toolbelt copied to clipboard
Mention 'realpath' dependency in README or re-implement as shell function?
Therealpath
utility is part of GNU coreutils, and won't be present by default on macOS or BSD. If installed with MacPorts, it will be called grealpath
.
Ideally Re-implementing the behavior of realpath
could be reimplemented as a shell function instead.realpath --relative-to=.
would be a challenge in plain shell script, so maybe it's best to just mention the dependency on coreutils in the README, and call grealpath
if realpath
can't be found.
The affected toolbelt commands are git-autofixup
, git-modified
, and git-modified-since
(code search).
Uh, just realized that your "official" installation instructions use your Brew tap, and this brings in coreutils as a dependency.
Resolved in #56. Thanks!