Page MenuHomeFreeBSD

Fix arcgit when run from a worktree
AbandonedPublic

Authored by rstone on Nov 11 2016, 7:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 5:51 AM
Unknown Object (File)
Aug 27 2023, 10:50 PM
Unknown Object (File)
Jul 6 2023, 8:15 PM
Unknown Object (File)
Apr 9 2023, 6:22 AM
Unknown Object (File)
Mar 23 2023, 4:10 PM
Unknown Object (File)
Apr 27 2017, 10:30 AM
Unknown Object (File)
Mar 13 2017, 5:17 AM
Unknown Object (File)
Dec 13 2016, 10:25 AM
Subscribers
None

Details

Reviewers
None
Summary

In a git worktree, the gitdir is in an entirely different location.
Use git rev-parse --git-dir to get the correct path to it always.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 5926
Build 6210: arc lint + arc unit

Event Timeline

rstone retitled this revision from to Fix arcgit when run from a worktree.
rstone updated this object.
rstone edited the test plan for this revision. (Show Details)