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
F152590716: D53972.id167224.diff
Wed, Apr 15, 8:55 PM
Unknown Object (File)
Fri, Apr 10, 6:56 AM
Unknown Object (File)
Wed, Apr 8, 7:14 AM
Unknown Object (File)
Wed, Apr 8, 4:10 AM
Unknown Object (File)
Tue, Apr 7, 6:39 PM
Unknown Object (File)
Sun, Apr 5, 11:26 AM
Unknown Object (File)
Mon, Mar 23, 10:21 PM
Unknown Object (File)
Feb 21 2026, 9:37 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 Not Applicable
Unit
Tests Not Applicable