summaryrefslogtreecommitdiff
path: root/send.go
diff options
context:
space:
mode:
Diffstat (limited to 'send.go')
-rw-r--r--send.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/send.go b/send.go
index a534d1a..650b78f 100644
--- a/send.go
+++ b/send.go
@@ -50,7 +50,8 @@ func listPatches() error {
log.Info("patchset:", line)
last = strings.TrimSpace(line)
}
- getPatch(last)
+ parts := strings.Fields(last)
+ getPatch(parts[0])
return nil
}