We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Interation mode can't process file path right with space
To Reproduce
Steps to reproduce the behavior:
Or show your code:
def switch_file_status(self, file: Union[File, str], path: Optional[str] = None): path = path or self.op_path file_name = self._get_file_str(file) if file.has_merged_conflicts or file.has_inline_merged_conflicts: pass elif file.has_unstaged_change: exec_cmd(f"git add -- {file_name}", cwd=path) elif file.has_staged_change: if file.tracked: exec_cmd(f"git reset HEAD -- {file_name}", cwd=path) else: exec_cmd(f"git rm --cached --force -- {file_name}", cwd=path)
File path like this:
And the below code can't process it right. Because:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
#34 fix this.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Interation mode can't process file path right with space
To Reproduce
Steps to reproduce the behavior:
Or show your code:
File path like this:
And the below code can't process it right. Because:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: