Pārlūkot izejas kodu

Quick fix for #4 until I implement GitPython.

tags/v0.2
Ben Kurtovic pirms 10 gadiem
vecāks
revīzija
91344c10a7
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      gitup.py

+ 1
- 1
gitup.py Parādīt failu

@@ -98,7 +98,7 @@ def update_repository(repo_path, repo_name):
out(2, "There are new changes upstream...")
status = exec_shell("git status")

if status.endswith("nothing to commit (working directory clean)"):
if status.endswith("nothing to commit, working directory clean"):
out(2, green("Pulling new changes..."))
result = exec_shell("git pull")
out(2, "The following changes have been made since {}:".format(


Notiek ielāde…
Atcelt
Saglabāt