 {
     gitDropChanges(path)
     let output = shell(["cd \(path)",
-        "git checkout /\(branch)"])
+        "\(gitPath) checkout /\(branch)"])
     print(output)
     return (output.status == 0)
 }


// MARK: main

private var args = Process.arguments
args.removeFirst()
App().start(args)

// eof


    return (output.status == 0)
}

func gitInstalledPath() -> String {
    let output = shell(["which git"])
    return output.output
}

func gitCheckoutAtTag(path: String, tag: String) -> Bool
{
    let output = shell(["cd \(path)",
        "\(gitPath) checkout tags/\(tag)"])
    print(output)
    return (output.status == 0)
}
