-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git: add hack to unset Git HEAD by using random ref name
I considered using the working-copy commit id to generate a unique ref, but the placeholder ref can be "born" by committing changes by git, and the ref name can conflict later by editing the original (hidden) commit. So I think it's better to generate a random name instead. Fixes jj-vcs#1495
- Loading branch information
Showing
2 changed files
with
150 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters