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, Oct 10, 3:55 PM
Unknown Object (File)
Fri, Oct 10, 3:55 PM
Unknown Object (File)
Fri, Oct 10, 3:55 PM
Unknown Object (File)
Fri, Oct 10, 9:47 AM
Unknown Object (File)
Sun, Sep 28, 2:16 AM
Unknown Object (File)
Mon, Sep 22, 8:46 AM
Unknown Object (File)
Aug 10 2025, 8:58 AM
Unknown Object (File)
Aug 3 2025, 11:44 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