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)
Jan 4 2024, 2:48 PM
Unknown Object (File)
Dec 20 2023, 7:57 AM
Unknown Object (File)
Dec 12 2023, 12:03 AM
Unknown Object (File)
Nov 25 2023, 3:44 AM
Unknown Object (File)
Nov 24 2023, 11:21 PM
Unknown Object (File)
Nov 22 2023, 8:54 PM
Unknown Object (File)
Nov 22 2023, 4:15 PM
Unknown Object (File)
Nov 22 2023, 2:51 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