Git: Show error when pull fails due to unstaged changes
When git pull fails due to unstaged changes in the working directory, show an informative error message instead of silently failing. Fixes https://gitlab.com/kicad/code/kicad/-/issues/20363
This commit is contained in:
@@ -43,6 +43,7 @@ struct CommitDetails
|
||||
// Enum for result codes, error codes are negative, success codes are positive
|
||||
enum class PullResult : int
|
||||
{
|
||||
DirtyWorkdir = -3,
|
||||
MergeFailed = -2,
|
||||
Error = -1,
|
||||
Success = 0,
|
||||
|
||||
Reference in New Issue
Block a user