Reload branch name from DB before updating

pull/115/merge
morpheus65535 6 years ago
parent 85939c4cbf
commit c515dcefd1

@ -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:

Loading…
Cancel
Save