Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deconflict top level build directory and bazel BUILD file #45

Closed
dtolnay opened this issue Feb 25, 2020 · 0 comments
Closed

Deconflict top level build directory and bazel BUILD file #45

dtolnay opened this issue Feb 25, 2020 · 0 comments

Comments

@dtolnay
Copy link
Owner

dtolnay commented Feb 25, 2020

Having both causes silly trouble on case insensitive filesystems. 🤦‍♀

% git status
HEAD detached at origin/master
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	deleted:    BUILD

no changes added to commit (use "git add" and/or "git commit -a")

% git checkout -- BUILD

% git status
HEAD detached at origin/master
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	deleted:    build/rust.bzl

no changes added to commit (use "git add" and/or "git commit -a")

% git checkout -- build/rust.bzl

% git status
HEAD detached at origin/master
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	deleted:    BUILD

no changes added to commit (use "git add" and/or "git commit -a")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant