Compare commits

..

No commits in common. "master" and "0.2.0" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -68,7 +68,7 @@ Options:
-e --log-err <errlog> Log error output to <errfile>
"""
let args = docopt(doc, version = "git_pull_all 0.2.1")
let args = docopt(doc, version = "git_pull_all 0.2.0")
let rootDirs: seq[string] =
if args["<root>"]: args["<root>"].mapIt(it)
@ -135,8 +135,7 @@ Options:
else:
# Not clean? Try to stash the changes.
var stashed = false
if cmdOutput.outBuf.join("\n").find("working tree clean") < 0 and
cmdOutput.outBuf.join("\n").find("working directory clean") < 0:
if cmdOutput.outBuf.join("\n").find("working tree clean") < 0:
cmdOutput.clear()
if not git(repoDir, ["stash", "save"]):
failRepo("error trying to stash uncommitted changes")

View File

@ -1,6 +1,6 @@
# Package
version = "0.2.1"
version = "0.2.0"
author = "Jonathan Bernard"
description = "Small CLI utility to pull multiple git repos."
license = "MIT"