Fix #157 - gitPull of branch
This commit is contained in:
parent
c4b6a01878
commit
ad809242c8
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ proc gitPull*(url: string, outdir = "", plist = "", checkout = "") =
|
||||||
|
|
||||||
if checkout.len != 0:
|
if checkout.len != 0:
|
||||||
echo "# Checking out " & checkout
|
echo "# Checking out " & checkout
|
||||||
discard execAction(&"cd {outdirQ} && git pull --tags origin master")
|
discard execAction(&"cd {outdirQ} && git fetch")
|
||||||
discard execAction(&"cd {outdirQ} && git checkout {checkout}")
|
discard execAction(&"cd {outdirQ} && git checkout {checkout}")
|
||||||
else:
|
else:
|
||||||
echo "# Pulling repository"
|
echo "# Pulling repository"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue