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)
Fri, Aug 14, 8:27 PM
Unknown Object (File)
Fri, Aug 14, 1:43 PM
Unknown Object (File)
Thu, Aug 13, 8:32 PM
Unknown Object (File)
Thu, Aug 13, 3:35 PM
Unknown Object (File)
Thu, Aug 13, 1:56 PM
Unknown Object (File)
Wed, Aug 12, 9:45 PM
Unknown Object (File)
Wed, Aug 12, 4:37 PM
Unknown Object (File)
Wed, Aug 12, 12:39 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