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
F111588175: D36248.diff
Wed, Mar 5, 4:09 PM
Unknown Object (File)
Fri, Feb 28, 9:27 PM
Unknown Object (File)
Fri, Feb 28, 3:05 AM
Unknown Object (File)
Fri, Feb 21, 3:41 AM
Unknown Object (File)
Fri, Feb 14, 7:31 AM
Unknown Object (File)
Thu, Feb 13, 8:16 AM
Unknown Object (File)
Thu, Feb 13, 5:39 AM
Unknown Object (File)
Wed, Feb 5, 5:49 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