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

goose keeps remembering old file content #84

Open
michaelneale opened this issue Sep 23, 2024 · 2 comments
Open

goose keeps remembering old file content #84

michaelneale opened this issue Sep 23, 2024 · 2 comments
Labels
hacktoberfest Good ticket to tackle as part of Hacktoberfest help wanted Extra attention is needed

Comments

@michaelneale
Copy link
Collaborator

michaelneale commented Sep 23, 2024

Even though it knows file has changed, it is unable to "forget" the old content of the file from its context.

Result: often old unwanted changes make their way back into a file, if you have edited it outside of the goose session.

Solution: probably need to prune past content of the file in the current session once it is detected to have changed, if at all possible.

@michaelneale
Copy link
Collaborator Author

I think this may be able to be addressed with a moderator: a moderator which drops old content smartly especially if it knows there is a new version of the file.

@baxen
Copy link
Collaborator

baxen commented Sep 26, 2024

Agree! pruning reads from the history based on path probably improves performance and should also drop context naturally quite a bit

@lily-de lily-de added help wanted Extra attention is needed hacktoberfest Good ticket to tackle as part of Hacktoberfest labels Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Good ticket to tackle as part of Hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants