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, Dec 24, 4:15 PM
Unknown Object (File)
Fri, Dec 19, 12:04 AM
Unknown Object (File)
Nov 26 2025, 10:15 PM
Unknown Object (File)
Nov 25 2025, 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
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