lllyasviel commited on
Commit
fa69faa
1 Parent(s): 46292e3
Files changed (1) hide show
  1. entry_with_update.py +1 -0
entry_with_update.py CHANGED
@@ -31,6 +31,7 @@ try:
31
  print("Already up-to-date")
32
  elif merge_result & pygit2.GIT_MERGE_ANALYSIS_FASTFORWARD:
33
  local_branch.set_target(remote_commit.id)
 
34
  print("Fast-forward merge")
35
  elif merge_result & pygit2.GIT_MERGE_ANALYSIS_NORMAL:
36
  print("Update failed - Did you modified any file?")
 
31
  print("Already up-to-date")
32
  elif merge_result & pygit2.GIT_MERGE_ANALYSIS_FASTFORWARD:
33
  local_branch.set_target(remote_commit.id)
34
+ repo.head.set_target(remote_commit.id)
35
  print("Fast-forward merge")
36
  elif merge_result & pygit2.GIT_MERGE_ANALYSIS_NORMAL:
37
  print("Update failed - Did you modified any file?")