aboutsummaryrefslogtreecommitdiff
path: root/network/receivepack/service/command_result.go
diff options
context:
space:
mode:
Diffstat (limited to 'network/receivepack/service/command_result.go')
-rw-r--r--network/receivepack/service/command_result.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/receivepack/service/command_result.go b/network/receivepack/service/command_result.go
new file mode 100644
index 00000000..37549f08
--- /dev/null
+++ b/network/receivepack/service/command_result.go
@@ -0,0 +1,13 @@
+package service
+
+import objectid "codeberg.org/lindenii/furgit/object/id"
+
+// CommandResult is one per-command execution result.
+type CommandResult struct {
+ Name string
+ Error string
+ RefName string
+ OldID *objectid.ObjectID
+ NewID *objectid.ObjectID
+ ForcedUpdate bool
+}