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
F163101621: D53972.id167226.diff
Mon, Jul 20, 2:32 AM
F163091935: D53972.id167224.diff
Mon, Jul 20, 12:26 AM
F163083726: D53972.id167224.diff
Sun, Jul 19, 10:36 PM
Unknown Object (File)
Sun, Jul 19, 5:22 AM
Unknown Object (File)
Wed, Jul 15, 5:44 AM
Unknown Object (File)
Wed, Jul 15, 5:44 AM
Unknown Object (File)
Tue, Jul 7, 11:39 AM
Unknown Object (File)
Sat, Jul 4, 6:27 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