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
F166321276: D36248.diff
Wed, Aug 12, 9:45 PM
F166281854: D36248.id109480.diff
Wed, Aug 12, 4:37 PM
F166236029: D36248.id109496.diff
Wed, Aug 12, 12:39 PM
F166221666: D36248.diff
Wed, Aug 12, 11:20 AM
Unknown Object (File)
Wed, Aug 12, 8:29 AM
Unknown Object (File)
Mon, Aug 10, 9:04 AM
Unknown Object (File)
Sat, Aug 8, 5:00 PM
Unknown Object (File)
Sat, Aug 8, 3:50 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