[BUG] attempting to create a patch from an untracked file gives an error
jkelroy opened this issue · comments
Joey Kelroy commented
Description
On Windows using Powershell, if you attempt to create a patch from an untracked file, you get the response Error: patch data cannot be blank
.
- Open a repository and create a new file
- Attempt to create a patch using
gk patch create
and follow the prompts or usegk patch create --from-wip --title <title
Error: patch data cannot be blank
Creating a patch with the repository in the same state from GitKraken Client works as expected. Also, if you commit the file and create a patch from this commit it works as expected.
GitKraken CLI Version
1.4.0
OS Version
Windows 11 Pro v10.0.22621 Build 22621
Git Version
git version 2.41.0.windows.3