Reload branch name from DB before updating

This commit is contained in:
morpheus65535 2018-06-04 23:36:41 -04:00
parent 85939c4cbf
commit c515dcefd1

View file

@ -25,6 +25,7 @@ def gitconfig():
def check_and_apply_update():
gitconfig()
branch = get_general_settings()[5]
g = git.cmd.Git(current_working_directory)
result = g.diff('--shortstat', 'origin/' + branch)
if len(result) == 0: