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

Possible confusion on import of files from inside a kart repo #744

Open
pfw opened this issue Dec 1, 2022 · 0 comments
Open

Possible confusion on import of files from inside a kart repo #744

pfw opened this issue Dec 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pfw
Copy link
Contributor

pfw commented Dec 1, 2022

Is your feature request related to a problem? Please describe.
If a file is imported from inside the kart repo it stays there along with the working copy file. There isn't direct indication that the file was imported shouldn't be used and that the contents of it have actually been put into the repo and ended up in the working copy file.

kart log shows it has been imported, kart status returns

❯ kart status
On branch main

Nothing to commit, working copy clean

At this point if the original file is changed obviously kart isn't going to see any diff and there is no easy way to move those changes across to the working copy.

...

confusion.

Describe the solution you'd like
kart import could prompt when importing from a repo directory saying this might not be what is intended.

kart status could show something indicating a kart equivalent of 'untracked files are present' to help indicate it's not going to do anything with the original file.

@pfw pfw added the enhancement New feature or request label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant