Preserve stray test.rs scratch file from working tree - #63
Open
rorychatt wants to merge 1 commit into
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SyncRepo found a staged, uncommitted
test.rsat the repo root onmainand preserved it here rather than discarding it. Opened for review so the work is not lost — this is very likely a leftover scratch file that should simply be deleted instead of merged.What was in the working tree
A single staged file,
test.rs, containing an emptymain:It sits at the repo root, outside every crate in the workspace (
rusty,rusty-server,rusty-macros,rusty-docs,src), so nothing builds or references it.Notes for the reviewer
2420578, so no content was lost.pre-commithook ranrustfmtover the staged file, so the committed content is the reformattedfn main() {}rather than the original odd spacing shown above.Suggested action
Close this PR and delete the branch, unless someone recognizes
test.rsas intentional.