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)
Wed, Nov 26, 10:15 PM
Unknown Object (File)
Tue, Nov 25, 10:32 PM
Unknown Object (File)
Nov 3 2025, 8:48 PM
Unknown Object (File)
Nov 3 2025, 8:47 PM
Unknown Object (File)
Nov 3 2025, 8:46 PM
Unknown Object (File)
Nov 3 2025, 8:45 PM
Unknown Object (File)
Oct 10 2025, 3:55 PM
Unknown Object (File)
Oct 10 2025, 3:55 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