Skip to content

Commit 2b77bfc

Browse files
committed
Give a strategy for divergent branches
1 parent 2333476 commit 2b77bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

turbinia/workers/analysis/yara.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def update_rules(self, rules):
6868
try:
6969
repository = git.Repo(path)
7070
origin = repository.remotes.origin
71-
origin.pull(depth=1)
71+
origin.pull(depth=1, rebase=True)
7272
log.info('Successfully updated rules from %s in %s', repo, path)
7373
except git.exc.InvalidGitRepositoryError as e:
7474
log.error(

0 commit comments

Comments
 (0)