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)
Fri, Aug 21, 3:43 AM
Unknown Object (File)
Sun, Aug 16, 1:55 AM
Unknown Object (File)
Thu, Aug 13, 1:57 PM
Unknown Object (File)
Tue, Aug 11, 8:41 AM
Unknown Object (File)
Tue, Aug 11, 12:39 AM
Unknown Object (File)
Jul 25 2026, 5:35 PM
Unknown Object (File)
Jul 25 2026, 9:37 AM
Unknown Object (File)
Jul 23 2026, 4:26 AM
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 Not Applicable
Unit
Tests Not Applicable