Page MenuHomeFreeBSD

git-arc: Use --head to avoid changing the checkout.
ClosedPublic

Authored by jhb on Aug 17 2022, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 11, 8:43 PM
Unknown Object (File)
Wed, May 6, 9:57 PM
Unknown Object (File)
Fri, May 1, 9:47 AM
Unknown Object (File)
Thu, Apr 30, 12:48 AM
Unknown Object (File)
Wed, Apr 29, 4:17 PM
Unknown Object (File)
Mon, Apr 27, 9:55 AM
Unknown Object (File)
Sat, Apr 25, 7:23 AM
Unknown Object (File)
Apr 20 2026, 1:18 AM
Subscribers

Details

Summary

Rather than using 'git checkout' to move to the commit in question for
create and update, use the '--head' argument to 'arc diff'. This
avoids the need to alter the current checkout and the related bits to
save/restore HEAD in the current checkout.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable