summaryrefslogtreecommitdiff
path: root/doPatch.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPatch.go')
-rw-r--r--doPatch.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/doPatch.go b/doPatch.go
index d1ee508..badf5f5 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -37,6 +37,21 @@ func doPatch() error {
return nil
}
+ if argv.Patch.Check != nil {
+ for pset := range me.forge.Patchsets.IterAll() {
+ log.Info(pset.Uuid)
+ for patch := range pset.Patches.IterAll() {
+ if repo, ok := me.forge.IsPatchApplied(patch); ok {
+ log.Info("found patch in repo", repo.Namespace, patch.Filename)
+ } else {
+ // log.Info("did not find patch", patch.CommitHash, patch.NewHash, patch.Filename)
+ }
+ }
+ }
+ // me.forge.Patchsets.PrintTable()
+ return nil
+ }
+
if argv.Patch.List != nil {
me.forge.Patchsets.PrintTable()
// return doPatchList()