You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to commit a single file, I cannot because of an error returned by this script in line 470 of Tortoise.py
A possible fix is adding an "or os.path.isfile(path)" to line 92. Or simply checking if path is set.
Original: self.get_vcs(path).commit(path if os.path.isdir(path) else None)
Edited: self.get_vcs(path).commit(path if os.path.isdir(path) or os.path.isfile(path) else None)
This can be applied to many parts of the file (commit/status).
I would greatly appreciate the ability to commit single files.
Sorry if my understanding of Python isn't great, I've never used it before =X
Thanks!
The text was updated successfully, but these errors were encountered:
When I try to commit a single file, I cannot because of an error returned by this script in line 470 of Tortoise.py
A possible fix is adding an "or os.path.isfile(path)" to line 92. Or simply checking if path is set.
Original:
self.get_vcs(path).commit(path if os.path.isdir(path) else None)
Edited:
self.get_vcs(path).commit(path if os.path.isdir(path) or os.path.isfile(path) else None)
This can be applied to many parts of the file (commit/status).
I would greatly appreciate the ability to commit single files.
Sorry if my understanding of Python isn't great, I've never used it before =X
Thanks!
The text was updated successfully, but these errors were encountered: