]> git.e2factory.org Git - e2factory.git/commitdiff
generic_git: swap arguments to fix error message
authorTobias Ulmer <tu@emlix.com>
Wed, 21 Dec 2016 15:58:43 +0000 (16:58 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 21 Dec 2016 15:58:43 +0000 (16:58 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/generic_git.lua

index aaf3b00fefa31fbb6063cf6eb5f95ba5da21e655..d43b9eb77f42b6bcba699ba53965de11ed8acd51 100644 (file)
@@ -638,7 +638,7 @@ function generic_git.verify_remote_tag(gitdir, tag)
 
     if not rid then
         re = err.new("can not find commit ID for remote tag %q in %q",
-            gitdir, tag)
+            tag, gitdir)
         return false, e:cat(re)
     end
 
@@ -649,7 +649,7 @@ function generic_git.verify_remote_tag(gitdir, tag)
 
     if rid ~= lid then
         re = err.new("can not find commit ID for local tag %q in %q",
-            gitdir, tag)
+            tag, gitdir)
         return false, e:cat(re)
     end