summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f66b8a6)
raw | patch | inline | side by side (parent: f66b8a6)
author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 20 Jul 2007 07:37:43 +0000 (03:37 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 21 Jul 2007 09:00:37 +0000 (05:00 -0400) |
If we are given a merge type we don't understand in checkout_op there
is probably a bug in git-gui somewhere that allowed this unknown merge
strategy to come into this part of the code path. We currently only
recognize three merge types ('none', 'ff' and 'reset') but are going
to be supporting more in the future. Rather than keep editing this
message I'm going with a very generic "Uh, we don't do that!" type of
error.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
is probably a bug in git-gui somewhere that allowed this unknown merge
strategy to come into this part of the code path. We currently only
recognize three merge types ('none', 'ff' and 'reset') but are going
to be supporting more in the future. Rather than keep editing this
message I'm going with a very generic "Uh, we don't do that!" type of
error.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/checkout_op.tcl | patch | blob | history |
diff --git a/lib/checkout_op.tcl b/lib/checkout_op.tcl
index 6d87830dd610c0c7cb8250671a79f8abae4501c1..554c107032458f3b9585b58d7920924acf0ecb69 100644 (file)
--- a/lib/checkout_op.tcl
+++ b/lib/checkout_op.tcl
}
}
default {
- _error $this "Only 'ff' and 'reset' merge is currently supported."
+ _error $this "Merge strategy '$merge_type' not supported."
return 0
}
}