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, Mar 30, 10:11 PM
Unknown Object (File)
Sat, Mar 21, 11:26 PM
Unknown Object (File)
Mon, Mar 16, 1:45 AM
Unknown Object (File)
Sun, Mar 15, 9:37 PM
Unknown Object (File)
Sat, Mar 7, 4:49 PM
Unknown Object (File)
Sat, Mar 7, 3:41 AM
Unknown Object (File)
Wed, Mar 4, 11:50 PM
Unknown Object (File)
Jan 20 2026, 1:31 PM
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