WIP: operator collaboration MVP
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

See toolshed/organising#467
This commit is contained in:
2024-12-30 00:46:25 +01:00
parent 74108b0dd9
commit 4d7c812fe2
13 changed files with 319 additions and 20 deletions

View File

@ -208,9 +208,13 @@ likely to change.
}
if !isClean {
log.Infof("%s currently has these unstaged changes 👇", recipe.Name)
if err := gitPkg.DiffUnstaged(recipe.Dir); err != nil {
diff, err := gitPkg.DiffUnstaged(recipe.Dir, "")
if err != nil {
log.Fatal(err)
}
if diff != "" {
fmt.Print(diff)
}
}
},
}