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
F174401837: D53972.id167225.diff
Fri, Oct 2, 10:51 PM
F174399441: D53972.id167224.diff
Fri, Oct 2, 10:25 PM
Unknown Object (File)
Fri, Oct 2, 2:38 AM
Unknown Object (File)
Tue, Sep 29, 4:03 PM
Unknown Object (File)
Tue, Sep 29, 2:10 PM
Unknown Object (File)
Sun, Sep 27, 6:20 AM
Unknown Object (File)
Fri, Sep 25, 9:01 PM
Unknown Object (File)
Sun, Sep 20, 6:29 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