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

Unable to edit .sql files #9

Closed
hayian opened this issue Jun 30, 2015 · 4 comments
Closed

Unable to edit .sql files #9

hayian opened this issue Jun 30, 2015 · 4 comments
Labels

Comments

@hayian
Copy link

hayian commented Jun 30, 2015

When trying to edit a sql file it's unable to present it properly:

capture

@mdavoodi
Copy link
Contributor

mdavoodi commented Jul 1, 2015

I'm unable to reproduce this. Could you give me your stash version and browser version?

Maybe you could reproduce this with an example file and post it here?

@mdavoodi mdavoodi added the bug label Jul 1, 2015
@hayian
Copy link
Author

hayian commented Jul 1, 2015

hmm, it seems to be something with this particular sql file, others open ok. I can't really post the code so I'll see if I can nut out what is causing it within the sql file and let you know.

I've tested it in IE11 and Chrome 43 with Stash 3.10.0.

@hayian
Copy link
Author

hayian commented Jul 2, 2015

It looks like it was some sort of encoding or corruption in a few SQL files. They work fine from notepad++ and most other apps, but even Stash was having problems doing a diff before merging. Deleting the files and recreating them seems to have fixed the problem.

@mdavoodi
Copy link
Contributor

mdavoodi commented Jul 6, 2015

I made a new issue ticket regarding bad file detection so I'm going to close this.

@mdavoodi mdavoodi closed this as completed Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants