Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

After File edit old commit is loaded #1809

Open
JuKu opened this issue May 16, 2018 · 8 comments
Open

After File edit old commit is loaded #1809

JuKu opened this issue May 16, 2018 · 8 comments

Comments

@JuKu
Copy link

JuKu commented May 16, 2018

FastHub Version: 4.6.7
Android Version: 7.0 (SDK: 24)
Device Information:

  • Manufacturer: motorola
  • Brand: motorola
  • Model: Moto G (5) Plus

If i change a file, save it and open it again, Changes has no affect (old file is loaded).

@k0shk0sh
Copy link
Owner

The file is cached from GitHub it takes some time for it to load

@JuKu
Copy link
Author

JuKu commented May 17, 2018

Thanks for your answer!
Maybe a warning "you see old file from cache, loading..." will be a good thing?

But if i edit again, also old commit is loaded. So i dont edit the current commit, i edit an older one.

@k0shk0sh
Copy link
Owner

k0shk0sh commented May 17, 2018

yes exactly and there is no way for me to know that this is old or new, i display what GitHub returns. 🤷‍♂️

@JuKu
Copy link
Author

JuKu commented May 18, 2018

Do you use the github api or a library?

@yakov116
Copy link
Collaborator

@JuKu api

@JuKu
Copy link
Author

JuKu commented May 18, 2018

And the api caches this output?
Is there a opportunity to avoid caching? Maybe a parameter on url?

@yakov116
Copy link
Collaborator

@JuKu yup, we can't fix GitHub's problems

@JuKu
Copy link
Author

JuKu commented May 21, 2018

But if i close the app and restart them, i get the current (right) file / commit. Why?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants