Skip to content
New issue

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

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

Already on GitHub? # to your account

Specs for Index#workdir_path_modified? #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dometto
Copy link
Member

@dometto dometto commented Aug 29, 2023

Index#workdir_path_modified? should determine whether a path in the working directory has been modified compared to the index: i.e., whether it is new, or has new content. The purpose of this method is to determine whether it is safe to overwrite a path with information from the index. Hence, when path does not exist in the workdir (in rugged, this is signified by :worktree_deleted), this method should return false.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant