Page MenuHomeFreeBSD

git-arc: Fix failure to call arc() function due to env(1)
ClosedPublic

Authored by jrm on Nov 27 2025, 11:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 21, 9:37 PM
Unknown Object (File)
Sat, Feb 21, 9:23 PM
Unknown Object (File)
Sat, Feb 21, 5:51 PM
Unknown Object (File)
Sat, Feb 21, 11:56 AM
Unknown Object (File)
Sat, Feb 21, 11:56 AM
Unknown Object (File)
Sat, Feb 21, 1:03 AM
Unknown Object (File)
Fri, Feb 20, 6:04 AM
Unknown Object (File)
Thu, Feb 19, 10:50 PM
Subscribers

Details

Summary

As of b3e53f9fff11, git-arc attempted to call an internal shell function, arc(),
prefixed with env(1). However, because env does not execute shell functions,
the defined arc() function was never called, leading to errors.

% git arc create -r xxx HEAD
env: arc: No such file or directory
git-arc: could not create Phabricator diff

This change removes the unnecessary call to env(1), so the arc() function is
called.

Fixes: b3e53f9fff11 ("git-arc: Don't require devel/arcanist")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68911
Build 65794: arc lint + arc unit