repopick: Try to fast-forward first

Change-Id: I4890ce8075556eb3f57d89c283543f620f39fa02
This commit is contained in:
Tim Schumacher 2018-10-13 14:37:54 +02:00 committed by Bruno Martins
parent b20fd5171e
commit 49d26ba39a

View file

@ -448,7 +448,7 @@ if __name__ == '__main__':
sys.exit(result)
# Perform the cherry-pick
if not args.pull:
cmd = ['git cherry-pick FETCH_HEAD']
cmd = ['git cherry-pick --ff FETCH_HEAD']
if args.quiet:
cmd_out = open(os.devnull, 'wb')
else: