Skip to content

Specs for Index#workdir_path_modified? - #18

Open
dometto wants to merge 2 commits into
gollum:masterfrom
dometto:clean_workdir
Open

Specs for Index#workdir_path_modified?#18
dometto wants to merge 2 commits into
gollum:masterfrom
dometto:clean_workdir

Conversation

@dometto

@dometto dometto commented Aug 29, 2023

Copy link
Copy Markdown
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant