The check for "local tag not found" was wrongly copying the later check for
tag mismatch, so when the tags did not match this message was shown:
Error [2]: verifying remote tag
Error [3]: can not find commit ID for local tag "v6.6" in ".../in/linux/.git"
Now it correctly shows:
Error [2]: verifying remote tag
[2]: local tag differs from remote tag
tag name: v6.6
local:
6e815efe19a99a33b16cc720c3d3a727565a4fa1
remote:
5260836abb7056beed3f3f0d0e4262c11f36f0d0
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
NEXT:
+ * fix message when local and remote tags differ
e2factory-2.3.18p1
* add support for rsync 3.2.4 style path arguments
return false, e:cat(re)
end
- if rid ~= lid then
+ if not lid then
re = err.new("can not find commit ID for local tag %q in %q",
tag, gitdir)
return false, e:cat(re)